diff options
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r-- | fs/btrfs/ctree.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index d119d95d139a..f00c4be59ad6 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h | |||
@@ -247,6 +247,7 @@ struct btrfs_header { | |||
247 | * room to translate 14 chunks with 3 stripes each. | 247 | * room to translate 14 chunks with 3 stripes each. |
248 | */ | 248 | */ |
249 | #define BTRFS_SYSTEM_CHUNK_ARRAY_SIZE 2048 | 249 | #define BTRFS_SYSTEM_CHUNK_ARRAY_SIZE 2048 |
250 | #define BTRFS_LABEL_SIZE 256 | ||
250 | 251 | ||
251 | /* | 252 | /* |
252 | * the super block basically lists the main trees of the FS | 253 | * the super block basically lists the main trees of the FS |
@@ -276,6 +277,7 @@ struct btrfs_super_block { | |||
276 | u8 root_level; | 277 | u8 root_level; |
277 | u8 chunk_root_level; | 278 | u8 chunk_root_level; |
278 | struct btrfs_dev_item dev_item; | 279 | struct btrfs_dev_item dev_item; |
280 | char label[BTRFS_LABEL_SIZE]; | ||
279 | u8 sys_chunk_array[BTRFS_SYSTEM_CHUNK_ARRAY_SIZE]; | 281 | u8 sys_chunk_array[BTRFS_SYSTEM_CHUNK_ARRAY_SIZE]; |
280 | } __attribute__ ((__packed__)); | 282 | } __attribute__ ((__packed__)); |
281 | 283 | ||