ext4: check for inconsistent extents between index and leaf block
authorZhang Yi <yi.zhang@huawei.com>
Wed, 8 Sep 2021 12:08:49 +0000 (20:08 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 4 Nov 2021 14:33:24 +0000 (10:33 -0400)
commit9c6e071913792d80894cd0be98cc3c4b770e26d3
tree3bb55caa580e701304438bd2b72f8ff0261e2d59
parent8dd27fecede55e8a4e67eef2878040ecad0f0d33
ext4: check for inconsistent extents between index and leaf block

Now that we can check out overlapping extents in leaf block and
out-of-order index extents in index block. But the .ee_block in the
first extent of one leaf block should equal to the .ei_block in it's
parent index extent entry. This patch add a check to verify such
inconsistent between the index and leaf block.

Signed-off-by: Zhang Yi <yi.zhang@huawei.com>
Link: https://lore.kernel.org/r/20210908120850.4012324-3-yi.zhang@huawei.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/extents.c