WSL2-Linux-Kernel/fs/ext4
Christoph Hellwig 959f758451 ext4: fix fiemap size checks for bitmap files
Add an extra validation of the len parameter, as for ext4 some files
might have smaller file size limits than others.  This also means the
redundant size check in ext4_ioctl_get_es_cache can go away, as all
size checking is done in the shared fiemap handler.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Ritesh Harjani <riteshh@linux.ibm.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20200505154324.3226743-3-hch@lst.de
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
2020-05-19 15:03:37 -04:00
..
Kconfig
Makefile
acl.c
acl.h
balloc.c ext4: fix return-value types in several function comments 2020-04-15 23:58:48 -04:00
bitmap.c
block_validity.c ext4: save all error info in save_error_info() and drop ext4_set_errno() 2020-04-01 17:29:06 -04:00
dir.c ext4: use flexible-array member in struct fname 2020-03-14 14:43:13 -04:00
ext4.h ext4: fix EXT4_MAX_LOGICAL_BLOCK macro 2020-05-19 15:03:37 -04:00
ext4_extents.h
ext4_jbd2.c ext4: remove set but not used variable 'es' in ext4_jbd2.c 2020-04-15 23:58:49 -04:00
ext4_jbd2.h ext4: disable dioread_nolock whenever delayed allocation is disabled 2020-03-26 10:57:42 -04:00
extents.c ext4: fix fiemap size checks for bitmap files 2020-05-19 15:03:37 -04:00
extents_status.c
extents_status.h
file.c ext4: start to support iopoll method 2020-03-05 15:40:15 -05:00
fsmap.c
fsmap.h
fsync.c
hash.c
ialloc.c ext4: increase wait time needed before reuse of deleted inode numbers 2020-04-15 23:58:49 -04:00
indirect.c ext4: save all error info in save_error_info() and drop ext4_set_errno() 2020-04-01 17:29:06 -04:00
inline.c ext4: save all error info in save_error_info() and drop ext4_set_errno() 2020-04-01 17:29:06 -04:00
inode-test.c
inode.c ext4: use non-movable memory for superblock readahead 2020-04-15 23:58:48 -04:00
ioctl.c ext4: fix fiemap size checks for bitmap files 2020-05-19 15:03:37 -04:00
mballoc.c ext4: convert BUG_ON's to WARN_ON's in mballoc.c 2020-04-15 23:58:49 -04:00
mballoc.h
migrate.c ext4: fix race between writepages and enabling EXT4_EXTENTS_FL 2020-02-21 19:32:07 -05:00
mmp.c ext4: save all error info in save_error_info() and drop ext4_set_errno() 2020-04-01 17:29:06 -04:00
move_extent.c ext4: save all error info in save_error_info() and drop ext4_set_errno() 2020-04-01 17:29:06 -04:00
namei.c ext4: save all error info in save_error_info() and drop ext4_set_errno() 2020-04-01 17:29:06 -04:00
page-io.c fs/buffer: Make BH_Uptodate_Lock bit_spin_lock a regular spinlock_t 2020-03-28 13:21:08 +01:00
readpage.c
resize.c ext4: fix potential race between s_flex_groups online resizing and access 2020-02-21 19:31:46 -05:00
super.c ext4: remove set but not used variable 'es' 2020-04-15 23:58:49 -04:00
symlink.c
sysfs.c block: move the part_stat* helpers from genhd.h to a new header 2020-03-25 09:50:09 -06:00
truncate.h
verity.c
xattr.c ext4: save all error info in save_error_info() and drop ext4_set_errno() 2020-04-01 17:29:06 -04:00
xattr.h ext4: use flexible-array member for xattr structs 2020-03-14 14:43:13 -04:00
xattr_security.c
xattr_trusted.c
xattr_user.c