diff --git a/mkfs/main.c b/mkfs/main.c index 40efa26b..b65b18dd 100644 --- a/mkfs/main.c +++ b/mkfs/main.c @@ -1208,6 +1208,11 @@ raid_groups: goto out; } + ret = create_tree(trans, root, BTRFS_UUID_TREE_OBJECTID); + if (ret) + warning( + "unable to create uuid tree, will be created after mount: %d", ret); + ret = btrfs_commit_transaction(trans, root); if (ret) { error("unable to commit transaction: %d", ret);