From 2fd02b1f5f50d499b8f19d0cc5e9bc9ed7e686cd Mon Sep 17 00:00:00 2001 From: Dimitri John Ledkov Date: Sat, 26 Jan 2019 00:37:47 +0000 Subject: New upstream release --- convert/common.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'convert') 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); -- cgit v1.2.3