aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2010-07-27 11:56:04 -0400
committerTheodore Ts'o <tytso@mit.edu>2010-07-27 11:56:04 -0400
commit89eeddf03327e19cfcbb18efa98e5470e2f5c563 (patch)
tree2ca9f7ed13b348677a2d4b2fe8bf40e041a72f5f /fs/ext4
parent66e61a9e9504f61b9a928c9055368c81da613a50 (diff)
ext4: Define s_jnl_backup_type in superblock
This has been in use by e2fsprogs for a while; define it to keep the super block fields in sync. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4')
-rw-r--r--fs/ext4/ext4.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h
index 5d3d768d9503..4c7d4727d6ba 100644
--- a/fs/ext4/ext4.h
+++ b/fs/ext4/ext4.h
@@ -984,7 +984,7 @@ struct ext4_super_block {
984 __le32 s_last_orphan; /* start of list of inodes to delete */ 984 __le32 s_last_orphan; /* start of list of inodes to delete */
985 __le32 s_hash_seed[4]; /* HTREE hash seed */ 985 __le32 s_hash_seed[4]; /* HTREE hash seed */
986 __u8 s_def_hash_version; /* Default hash version to use */ 986 __u8 s_def_hash_version; /* Default hash version to use */
987 __u8 s_reserved_char_pad; 987 __u8 s_jnl_backup_type;
988 __le16 s_desc_size; /* size of group descriptor */ 988 __le16 s_desc_size; /* size of group descriptor */
989/*100*/ __le32 s_default_mount_opts; 989/*100*/ __le32 s_default_mount_opts;
990 __le32 s_first_meta_bg; /* First metablock block group */ 990 __le32 s_first_meta_bg; /* First metablock block group */
@@ -1002,7 +1002,7 @@ struct ext4_super_block {
1002 __le64 s_mmp_block; /* Block for multi-mount protection */ 1002 __le64 s_mmp_block; /* Block for multi-mount protection */
1003 __le32 s_raid_stripe_width; /* blocks on all data disks (N*stride)*/ 1003 __le32 s_raid_stripe_width; /* blocks on all data disks (N*stride)*/
1004 __u8 s_log_groups_per_flex; /* FLEX_BG group size */ 1004 __u8 s_log_groups_per_flex; /* FLEX_BG group size */
1005 __u8 s_reserved_char_pad2; 1005 __u8 s_reserved_char_pad;
1006 __le16 s_reserved_pad; 1006 __le16 s_reserved_pad;
1007 __le64 s_kbytes_written; /* nr of lifetime kilobytes written */ 1007 __le64 s_kbytes_written; /* nr of lifetime kilobytes written */
1008 __le32 s_snapshot_inum; /* Inode number of active snapshot */ 1008 __le32 s_snapshot_inum; /* Inode number of active snapshot */