diff options
Diffstat (limited to 'include/linux/ext4_fs_i.h')
-rw-r--r-- | include/linux/ext4_fs_i.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/linux/ext4_fs_i.h b/include/linux/ext4_fs_i.h index 18a6ce98537f..40ce04a52b04 100644 --- a/include/linux/ext4_fs_i.h +++ b/include/linux/ext4_fs_i.h | |||
@@ -65,6 +65,16 @@ struct ext4_block_alloc_info { | |||
65 | #define rsv_end rsv_window._rsv_end | 65 | #define rsv_end rsv_window._rsv_end |
66 | 66 | ||
67 | /* | 67 | /* |
68 | * storage for cached extent | ||
69 | */ | ||
70 | struct ext4_ext_cache { | ||
71 | __u32 ec_start; | ||
72 | __u32 ec_block; | ||
73 | __u32 ec_len; /* must be 32bit to return holes */ | ||
74 | __u32 ec_type; | ||
75 | }; | ||
76 | |||
77 | /* | ||
68 | * third extended file system inode data in memory | 78 | * third extended file system inode data in memory |
69 | */ | 79 | */ |
70 | struct ext4_inode_info { | 80 | struct ext4_inode_info { |
@@ -142,6 +152,9 @@ struct ext4_inode_info { | |||
142 | */ | 152 | */ |
143 | struct mutex truncate_mutex; | 153 | struct mutex truncate_mutex; |
144 | struct inode vfs_inode; | 154 | struct inode vfs_inode; |
155 | |||
156 | unsigned long i_ext_generation; | ||
157 | struct ext4_ext_cache i_cached_extent; | ||
145 | }; | 158 | }; |
146 | 159 | ||
147 | #endif /* _LINUX_EXT4_FS_I */ | 160 | #endif /* _LINUX_EXT4_FS_I */ |