On Wed, Sep 08, 2021 at 08:08:48PM +0800, Zhang Yi wrote: > 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@xxxxxxxxxx> Looks good, Reviewed-by: Theodore Ts'o <tytso@xxxxxxx>