diff options
author | Chengguang Xu <[email protected]> | 2019-07-23 19:21:54 +0800 |
---|---|---|
committer | Jan Kara <[email protected]> | 2019-07-31 12:04:42 +0200 |
commit | e5d395974e043cdcedcd84a0d41aaebb723786d8 (patch) | |
tree | 8ff04266c012c2ac4a3449149a9da23e3d489952 /lib/test_overflow.c | |
parent | 6fbacb8539a6659d446a9efabb538cfc007c1427 (diff) |
ext2: fix block range in ext2_data_block_valid()
For block validity we should check the block range
from start_block to start_block + count - 1, so fix
the range in ext2_data_block_valid() and also modify
the count argument properly in calling place.
Signed-off-by: Chengguang Xu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jan Kara <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions