diff options
author | Eric Sandeen <sandeen@redhat.com> | 2013-11-08 07:22:08 +0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2013-11-08 07:22:08 +0400 |
commit | f2754114400afe38ad5ade3b588451c4f36a61af (patch) | |
tree | ac19f3d62c4d167eefc58392fb6a313cb377296a /fs/ext4/mmp.c | |
parent | da0169b3b9a460ecbb571dad6123fe3735b148d1 (diff) | |
download | linux-f2754114400afe38ad5ade3b588451c4f36a61af.tar.xz |
ext4: remove unreachable code after ext4_can_extents_be_merged()
Commit ec22ba8e ("ext4: disable merging of uninitialized extents")
ensured that if either extent under consideration is uninit, we
decline to merge, and ext4_can_extents_be_merged() returns false.
So there is no need for the caller to then test whether the
extent under consideration is unitialized; if it were, we
wouldn't have gotten that far.
The comments were also inaccurate; ext4_can_extents_be_merged()
no longer XORs the states, it fails if *either* is uninit.
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>
Diffstat (limited to 'fs/ext4/mmp.c')
0 files changed, 0 insertions, 0 deletions