diff options
author | Dimitri John Ledkov <xnox@ubuntu.com> | 2019-01-26 00:37:47 +0000 |
---|---|---|
committer | Dimitri John Ledkov <xnox@ubuntu.com> | 2019-01-26 00:37:47 +0000 |
commit | 2fd02b1f5f50d499b8f19d0cc5e9bc9ed7e686cd (patch) | |
tree | 7557002a8de5892b17c04d1afcd8fdc99a0af4e7 /convert | |
parent | 03b9f8baf40383f4c2d709c656ca35bd75362dff (diff) |
New upstream release
Diffstat (limited to 'convert')
-rw-r--r-- | convert/common.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/convert/common.c b/convert/common.c index a9b24043..04b59019 100644 --- a/convert/common.c +++ b/convert/common.c @@ -107,9 +107,11 @@ static int setup_temp_super(int fd, struct btrfs_mkfs_config *cfg, ret = -EINVAL; goto out; } + uuid_copy(super->metadata_uuid, super->fsid); } else { uuid_generate(super->fsid); uuid_unparse(super->fsid, cfg->fs_uuid); + uuid_copy(super->metadata_uuid, super->fsid); } uuid_generate(chunk_uuid); uuid_unparse(chunk_uuid, cfg->chunk_uuid); |