diff options
author | Christoph Hellwig <[email protected]> | 2020-05-05 17:43:15 +0200 |
---|---|---|
committer | Theodore Ts'o <[email protected]> | 2020-06-03 23:16:54 -0400 |
commit | 328e24ae14aeb8ef624ec181e0d546b05c34f031 (patch) | |
tree | 9eebbb580dca044c64ded7edb05fb00a7b33176b /tools/perf/scripts | |
parent | 175efa81feb8405676e0136d97b10380179c92e0 (diff) |
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')
0 files changed, 0 insertions, 0 deletions