diff options
author | Eric Sandeen <sandeen@redhat.com> | 2009-09-17 11:55:58 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2009-09-17 11:55:58 -0400 |
commit | 0a80e9867db154966b2a771042e10452ac110e1e (patch) | |
tree | 51f43830b3c0dd733b0d446399eb3ea2b6bc84ed /fs/ext4/ext4.h | |
parent | 5534fb5bb35a62a94e0bd1fa2421f7fb6e894f10 (diff) | |
download | linux-0a80e9867db154966b2a771042e10452ac110e1e.tar.gz linux-0a80e9867db154966b2a771042e10452ac110e1e.tar.bz2 linux-0a80e9867db154966b2a771042e10452ac110e1e.zip |
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>
Diffstat (limited to 'fs/ext4/ext4.h')
-rw-r--r-- | fs/ext4/ext4.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h index 84e7f1d00a83..e227eea23f05 100644 --- a/fs/ext4/ext4.h +++ b/fs/ext4/ext4.h @@ -476,7 +476,6 @@ struct move_extent { __u64 len; /* block length to be moved */ __u64 moved_len; /* moved block length */ }; -#define MAX_DEFRAG_SIZE ((1UL<<31) - 1) #define EXT4_EPOCH_BITS 2 #define EXT4_EPOCH_MASK ((1 << EXT4_EPOCH_BITS) - 1) |