diff options
author | Chris Mason <chris.mason@oracle.com> | 2008-04-18 10:31:42 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@hera.kernel.org> | 2008-04-18 10:31:42 -0400 |
commit | 588bb9dfff98de27e17ce0e92079c032f8dc5a21 (patch) | |
tree | 6ccd424450226987db38446f363ebb8edc196a14 /ctree.h | |
parent | d25165e95c5c7d8f08f9abd974f706ae5ef25201 (diff) |
Add support for filesystem labels via mkfs.btrfs -L
Diffstat (limited to 'ctree.h')
-rw-r--r-- | ctree.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -235,6 +235,7 @@ struct btrfs_header { * room to translate 14 chunks with 3 stripes each. */ #define BTRFS_SYSTEM_CHUNK_ARRAY_SIZE 2048 +#define BTRFS_LABEL_SIZE 256 /* * the super block basically lists the main trees of the FS @@ -264,6 +265,7 @@ struct btrfs_super_block { u8 root_level; u8 chunk_root_level; struct btrfs_dev_item dev_item; + char label[BTRFS_LABEL_SIZE]; u8 sys_chunk_array[BTRFS_SYSTEM_CHUNK_ARRAY_SIZE]; } __attribute__ ((__packed__)); |