summaryrefslogtreecommitdiff
path: root/fs/ext4/super.c
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@redhat.com>2013-11-07 22:22:08 -0500
committerTheodore Ts'o <tytso@mit.edu>2013-11-07 22:22:08 -0500
commitf2754114400afe38ad5ade3b588451c4f36a61af (patch)
treeac19f3d62c4d167eefc58392fb6a313cb377296a /fs/ext4/super.c
parentda0169b3b9a460ecbb571dad6123fe3735b148d1 (diff)
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/super.c')
0 files changed, 0 insertions, 0 deletions