summaryrefslogtreecommitdiffstats
path: root/include/soc
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-05-05 17:43:15 +0200
committerTheodore Ts'o <tytso@mit.edu>2020-05-19 15:03:37 -0400
commit959f7584512941a614113bfddb41b6812214169d (patch)
treeca83611f4644651ea3a8e7958a9d95f07a0a3b02 /include/soc
parent9f44eda19529b1c3eef50676dc54b8cd0aa86aa3 (diff)
downloadlinux-959f7584512941a614113bfddb41b6812214169d.tar.gz
linux-959f7584512941a614113bfddb41b6812214169d.tar.bz2
linux-959f7584512941a614113bfddb41b6812214169d.zip
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>
Diffstat (limited to 'include/soc')
0 files changed, 0 insertions, 0 deletions