aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2010-06-29 11:00:23 -0400
committerTheodore Ts'o <tytso@mit.edu>2010-06-29 11:00:23 -0400
commit4a9cdec73f79b2858e9ecf0b6cfac7f6b200bf3a (patch)
tree0e06b201e009e5e2a661811e61ef3184138bb8d3 /fs/ext4
parentc6ac12a6159c802ae8b757dd13563564e64333df (diff)
ext4: Add new superblock fields reserved for the Next3 snapshot feature
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4')
-rw-r--r--fs/ext4/ext4.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h
index 8b6d297c8c73..3864a2775458 100644
--- a/fs/ext4/ext4.h
+++ b/fs/ext4/ext4.h
@@ -1002,7 +1002,13 @@ struct ext4_super_block {
1002 __u8 s_reserved_char_pad2; 1002 __u8 s_reserved_char_pad2;
1003 __le16 s_reserved_pad; 1003 __le16 s_reserved_pad;
1004 __le64 s_kbytes_written; /* nr of lifetime kilobytes written */ 1004 __le64 s_kbytes_written; /* nr of lifetime kilobytes written */
1005 __u32 s_reserved[160]; /* Padding to the end of the block */ 1005 __le32 s_snapshot_inum; /* Inode number of active snapshot */
1006 __le32 s_snapshot_id; /* sequential ID of active snapshot */
1007 __le64 s_snapshot_r_blocks_count; /* reserved blocks for active
1008 snapshot's future use */
1009 __le32 s_snapshot_list; /* inode number of the head of the
1010 on-disk snapshot list */
1011 __u32 s_reserved[155]; /* Padding to the end of the block */
1006}; 1012};
1007 1013
1008#ifdef __KERNEL__ 1014#ifdef __KERNEL__