Commit [0baaea]  Maximize  Restore  History

ext4: use EXT_MAX_BLOCKS in ext4_es_can_be_merged()

In ext4_es_can_be_merged() when checking whether we can merge two
extents we should use EXT_MAX_BLOCKS instead of defining it manually.
Also if it is really the case we should notify userspace because clearly
there is a bug in extent status tree implementation since this should
never happen.

Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Reviewed-by: Zheng Liu <wenqing.lz@taobao.com>

Lukas Czerner Lukas Czerner 2014-05-13

Theodore Ts'o Theodore Ts'o 2014-05-13

changed fs/ext4/extents_status.c
fs/ext4/extents_status.c Diff Switch to side-by-side view
Loading...