diff options
Diffstat (limited to 'include/linux/ext4_fs_extents.h')
-rw-r--r-- | include/linux/ext4_fs_extents.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/ext4_fs_extents.h b/include/linux/ext4_fs_extents.h index facc76684d4f..0eba0acf6ba6 100644 --- a/include/linux/ext4_fs_extents.h +++ b/include/linux/ext4_fs_extents.h | |||
@@ -141,6 +141,8 @@ typedef int (*ext_prepare_callback)(struct inode *, struct ext4_ext_path *, | |||
141 | 141 | ||
142 | #define EXT_MAX_BLOCK 0xffffffff | 142 | #define EXT_MAX_BLOCK 0xffffffff |
143 | 143 | ||
144 | #define EXT_MAX_LEN ((1UL << 15) - 1) | ||
145 | |||
144 | 146 | ||
145 | #define EXT_FIRST_EXTENT(__hdr__) \ | 147 | #define EXT_FIRST_EXTENT(__hdr__) \ |
146 | ((struct ext4_extent *) (((char *) (__hdr__)) + \ | 148 | ((struct ext4_extent *) (((char *) (__hdr__)) + \ |