diff options
author | Zhang Yi <yi.zhang@huawei.com> | 2021-09-08 20:08:48 +0800 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2021-11-04 10:33:24 -0400 |
commit | 8dd27fecede55e8a4e67eef2878040ecad0f0d33 (patch) | |
tree | 2b9757964c8d6ec73345e5d53355aefaac767212 /tools/perf/scripts/python/libxed.py | |
parent | 31d21d219b51dcfb16e18427eddae5394d402820 (diff) |
ext4: check for out-of-order index extents in ext4_valid_extent_entries()
After commit 5946d089379a ("ext4: check for overlapping extents in
ext4_valid_extent_entries()"), we can check out the overlapping extent
entry in leaf extent blocks. But the out-of-order extent entry in index
extent blocks could also trigger bad things if the filesystem is
inconsistent. So this patch add a check to figure out the out-of-order
index extents and return error.
Signed-off-by: Zhang Yi <yi.zhang@huawei.com>
Reviewed-by: Theodore Ts'o <tytso@mit.edu>
Link: https://lore.kernel.org/r/20210908120850.4012324-2-yi.zhang@huawei.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions