diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c index 9c01824eef084bfea25058317a4172c047aee4c5..673c72ab4fbe5087d69844420cc99d6b3b0e2df0 100644 --- a/fs/btrfs/volumes.c +++ b/fs/btrfs/volumes.c @@ -4230,6 +4230,7 @@ int btrfs_create_uuid_tree(struct btrfs_fs_info *fs_info) if (IS_ERR(uuid_root)) { ret = PTR_ERR(uuid_root); btrfs_abort_transaction(trans, tree_root, ret); + btrfs_end_transaction(trans, tree_root); return ret; }