According to the return value of the ext4 split extent at function, it is distinguished whether to restore the split extent. If the file consistency is not affected or mount for `errors=continue`, we need to restore the len of the split extent. zhanchengbin (2): ext4: fix inode tree inconsistency caused by ENOMEM in ext4_split_extent_at ext4: call ext4_handle_error when read extent failed in ext4_ext_insert_extent fs/ext4/extents.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.31.1