linux/fs/ext2
Chengguang Xu e5d395974e 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>
2019-07-31 12:04:42 +02:00
..
acl.c ext2: cache NULL when both default_acl and acl are NULL 2018-09-03 11:05:03 +02:00
acl.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
balloc.c ext2: fix block range in ext2_data_block_valid() 2019-07-31 12:04:42 +02:00
dir.c ext2: use common file type conversion 2019-01-21 17:48:17 +01:00
ext2.h \n 2019-03-07 09:01:33 -08:00
file.c ext2: support statx syscall 2019-02-18 15:14:43 +01:00
ialloc.c ext2: add missing brelse() in ext2_new_inode() 2019-05-30 13:35:32 +02:00
inode.c ext2: Always brelse bh on failure in ext2_iget() 2019-06-19 18:29:45 +02:00
ioctl.c vfs: create a generic checking and prep function for FS_IOC_SETFLAGS 2019-07-01 08:25:34 -07:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
namei.c ext2: support statx syscall 2019-02-18 15:14:43 +01:00
super.c \n 2019-07-10 20:27:07 -07:00
symlink.c ext2: support statx syscall 2019-02-18 15:14:43 +01:00
xattr_security.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
xattr_trusted.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
xattr_user.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
xattr.c ext2: fix block range in ext2_data_block_valid() 2019-07-31 12:04:42 +02:00
xattr.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00