]> git.ipfire.org Git - thirdparty/linux.git/blobdiff - fs/btrfs/transaction.c
Merge tag 'for-6.7-rc3-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave...
[thirdparty/linux.git] / fs / btrfs / transaction.c
index 6e63816dddcbea20f160a274cc8fa06f10ebd7a0..bfc0eb5e3b7c22f90ec83b4c5b53abd2fda5cd04 100644 (file)
@@ -1774,7 +1774,7 @@ static noinline int create_pending_snapshot(struct btrfs_trans_handle *trans,
        btrfs_release_path(path);
 
        ret = btrfs_create_qgroup(trans, objectid);
-       if (ret) {
+       if (ret && ret != -EEXIST) {
                btrfs_abort_transaction(trans, ret);
                goto fail;
        }