Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ext4: remove unreachable code in ext4_can_extents_be_merged()
Commit ec22ba8 ("ext4: disable merging of uninitialized extents") ensured that if either extent under consideration is uninit, we decline to merge, and immediately return. But right after that test, we test again for an uninit extent; we can never hit this. So just remove the impossible test and associated variable. Signed-off-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> Reviewed-by: Zheng Liu <wenqing.lz@taobao.com>
- Loading branch information