summaryrefslogtreecommitdiff
path: root/mkfs/common.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2017-02-01 14:25:18 +0100
committerDavid Sterba <dsterba@suse.com>2017-03-08 13:00:46 +0100
commit6783002cd3f0ea755e51b6f203f3058144247056 (patch)
treee0d9e465e53919fbdabebf39b3c07624da2717c4 /mkfs/common.h
parenta2ed85a11ddbc152190b8dd24a59920ffec3f027 (diff)
btrfs-progs: mkfs: make make_cfg::blocks an internal member
The caller of make_btrfs does not need to set it, it's for internal use and can be read after mkfs ends. Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'mkfs/common.h')
-rw-r--r--mkfs/common.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/mkfs/common.h b/mkfs/common.h
index 09edc28b..00f219a8 100644
--- a/mkfs/common.h
+++ b/mkfs/common.h
@@ -39,10 +39,11 @@ struct btrfs_mkfs_config {
u64 features;
/* Size of the filesystem in bytes */
u64 num_bytes;
- /* Logical addresses of superblock [0] and other tree roots */
- u64 blocks[8];
/* Output fields, set during creation */
+
+ /* Logical addresses of superblock [0] and other tree roots */
+ u64 blocks[8];
char fs_uuid[BTRFS_UUID_UNPARSED_SIZE];
char chunk_uuid[BTRFS_UUID_UNPARSED_SIZE];