ext4: replace MAX_DEFRAG_SIZE with EXT_MAX_BLOCK
authorEric Sandeen <sandeen@redhat.com>
Thu, 17 Sep 2009 15:55:58 +0000 (11:55 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 17 Sep 2009 15:55:58 +0000 (11:55 -0400)
commit0a80e9867db154966b2a771042e10452ac110e1e
tree51f43830b3c0dd733b0d446399eb3ea2b6bc84ed
parent5534fb5bb35a62a94e0bd1fa2421f7fb6e894f10
ext4: replace MAX_DEFRAG_SIZE with EXT_MAX_BLOCK

There's no reason to redefine the maximum allowable offset
in an extent-based file just for defrag;
EXT_MAX_BLOCK already does this.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/ext4.h
fs/ext4/ext4_extents.h
fs/ext4/move_extent.c