aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r--fs/btrfs/ctree.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index b29b911dd82..9bc1b0a8615 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -135,6 +135,7 @@ struct btrfs_super_block {
135 __le32 sectorsize; 135 __le32 sectorsize;
136 __le32 nodesize; 136 __le32 nodesize;
137 __le32 leafsize; 137 __le32 leafsize;
138 __le32 stripesize;
138 u8 root_level; 139 u8 root_level;
139} __attribute__ ((__packed__)); 140} __attribute__ ((__packed__));
140 141
@@ -353,6 +354,8 @@ struct btrfs_root {
353 /* leaf allocations are done in leafsize units */ 354 /* leaf allocations are done in leafsize units */
354 u32 leafsize; 355 u32 leafsize;
355 356
357 u32 stripesize;
358
356 u32 type; 359 u32 type;
357 u64 highest_inode; 360 u64 highest_inode;
358 u64 last_inode_alloc; 361 u64 last_inode_alloc;
@@ -776,6 +779,8 @@ BTRFS_SETGET_STACK_FUNCS(super_nodesize, struct btrfs_super_block,
776 nodesize, 32); 779 nodesize, 32);
777BTRFS_SETGET_STACK_FUNCS(super_leafsize, struct btrfs_super_block, 780BTRFS_SETGET_STACK_FUNCS(super_leafsize, struct btrfs_super_block,
778 leafsize, 32); 781 leafsize, 32);
782BTRFS_SETGET_STACK_FUNCS(super_stripesize, struct btrfs_super_block,
783 stripesize, 32);
779BTRFS_SETGET_STACK_FUNCS(super_root_dir, struct btrfs_super_block, 784BTRFS_SETGET_STACK_FUNCS(super_root_dir, struct btrfs_super_block,
780 root_dir_objectid, 64); 785 root_dir_objectid, 64);
781 786