diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2021-08-27 22:47:29 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2021-08-27 22:47:29 +0200 |
commit | d4311dd342bce90b8e362426e25b71076b9f371a (patch) | |
tree | b700b121d309ad7d42102c4077993b102668c733 /linux | |
parent | 2125e974fe7d9773f3d598a064646dc757da3622 (diff) | |
download | gnumach-d4311dd342bce90b8e362426e25b71076b9f371a.tar.gz gnumach-d4311dd342bce90b8e362426e25b71076b9f371a.tar.bz2 gnumach-d4311dd342bce90b8e362426e25b71076b9f371a.zip |
linux block: Fix checking block sector.
* linux/dev/glue/block.c (check_rw_block): Return 0 on no error.
Diffstat (limited to 'linux')
-rw-r--r-- | linux/dev/glue/block.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/dev/glue/block.c b/linux/dev/glue/block.c index 0d324df6..709a8572 100644 --- a/linux/dev/glue/block.c +++ b/linux/dev/glue/block.c @@ -456,6 +456,8 @@ check_rw_block (int nr, struct buffer_head **bh) if (sector != sectorl) return -EOVERFLOW; } + + return 0; } /* Perform the I/O operation RW on the buffer list BH |