diff options
Diffstat (limited to 'fs/ext4/ext4.h')
-rw-r--r-- | fs/ext4/ext4.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h index 9ca3637eca5f..ed14e1db0832 100644 --- a/fs/ext4/ext4.h +++ b/fs/ext4/ext4.h | |||
@@ -1025,8 +1025,9 @@ struct ext4_super_block { | |||
1025 | __le32 s_last_error_line; /* line number where error happened */ | 1025 | __le32 s_last_error_line; /* line number where error happened */ |
1026 | __le64 s_last_error_block; /* block involved of last error */ | 1026 | __le64 s_last_error_block; /* block involved of last error */ |
1027 | __u8 s_last_error_func[32]; /* function where the error happened */ | 1027 | __u8 s_last_error_func[32]; /* function where the error happened */ |
1028 | #define EXT4_S_ERR_END offsetof(struct ext4_super_block, s_reserved) | 1028 | #define EXT4_S_ERR_END offsetof(struct ext4_super_block, s_mount_opts) |
1029 | __le32 s_reserved[128]; /* Padding to the end of the block */ | 1029 | __u8 s_mount_opts[64]; |
1030 | __le32 s_reserved[112]; /* Padding to the end of the block */ | ||
1030 | }; | 1031 | }; |
1031 | 1032 | ||
1032 | #define EXT4_S_ERR_LEN (EXT4_S_ERR_END - EXT4_S_ERR_START) | 1033 | #define EXT4_S_ERR_LEN (EXT4_S_ERR_END - EXT4_S_ERR_START) |
@@ -1341,6 +1342,10 @@ EXT4_INODE_BIT_FNS(state, state_flags) | |||
1341 | #define EXT4_DEFM_JMODE_DATA 0x0020 | 1342 | #define EXT4_DEFM_JMODE_DATA 0x0020 |
1342 | #define EXT4_DEFM_JMODE_ORDERED 0x0040 | 1343 | #define EXT4_DEFM_JMODE_ORDERED 0x0040 |
1343 | #define EXT4_DEFM_JMODE_WBACK 0x0060 | 1344 | #define EXT4_DEFM_JMODE_WBACK 0x0060 |
1345 | #define EXT4_DEFM_NOBARRIER 0x0100 | ||
1346 | #define EXT4_DEFM_BLOCK_VALIDITY 0x0200 | ||
1347 | #define EXT4_DEFM_DISCARD 0x0400 | ||
1348 | #define EXT4_DEFM_NODELALLOC 0x0800 | ||
1344 | 1349 | ||
1345 | /* | 1350 | /* |
1346 | * Default journal batch times | 1351 | * Default journal batch times |