diff options
author | Chris Mason <chris.mason@oracle.com> | 2008-04-18 10:29:49 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-09-25 11:04:02 -0400 |
commit | 7ae9c09d8f001eb19ee2ba219dc5c3d4f6d60614 (patch) | |
tree | 9ad3de27fec0d73f145e8e9f9dd7a89851ae85bc /fs/btrfs/ctree.h | |
parent | a443755f1ca3e190e12e3a845ddecb3ee1782512 (diff) | |
download | op-kernel-dev-7ae9c09d8f001eb19ee2ba219dc5c3d4f6d60614.zip op-kernel-dev-7ae9c09d8f001eb19ee2ba219dc5c3d4f6d60614.tar.gz |
Btrfs: Add support for labels in the super block
Signed-off-by: Chris Mason <chris.mason@oracle.com>
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 d119d95..f00c4be 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h @@ -247,6 +247,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 @@ -276,6 +277,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__)); |