commit | e5d395974e043cdcedcd84a0d41aaebb723786d8 | [log] [tgz] |
---|---|---|
author | Chengguang Xu <cgxu519@zoho.com.cn> | Tue Jul 23 19:21:54 2019 +0800 |
committer | Jan Kara <jack@suse.cz> | Wed Jul 31 12:04:42 2019 +0200 |
tree | 8ff04266c012c2ac4a3449149a9da23e3d489952 | |
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 <cgxu519@zoho.com.cn> Link: https://lore.kernel.org/r/20190723112155.20329-1-cgxu519@zoho.com.cn Signed-off-by: Jan Kara <jack@suse.cz>