aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stat-cpi.py
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2020-05-05 15:43:15 +0000
committerTheodore Ts'o <[email protected]>2020-05-19 19:03:37 +0000
commit959f7584512941a614113bfddb41b6812214169d (patch)
treeca83611f4644651ea3a8e7958a9d95f07a0a3b02 /tools/perf/scripts/python/stat-cpi.py
parentext4: fix EXT4_MAX_LOGICAL_BLOCK macro (diff)
downloadkernel-959f7584512941a614113bfddb41b6812214169d.tar.gz
kernel-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 <[email protected]> Reviewed-by: Ritesh Harjani <[email protected]> Reviewed-by: Jan Kara <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions