]> git.sesse.net Git - bcachefs-tools-debian/blobdiff - libbcachefs/subvolume.c
Update bcachefs sources to 0342eebf85 bcachefs: Improve the backpointer to missing...
[bcachefs-tools-debian] / libbcachefs / subvolume.c
index bcc67c0f5dfc95992c05827ade2b759fd20e913a..43d83705a7aee6ce209ca3c3023b058ac3eda1f0 100644 (file)
@@ -87,7 +87,7 @@ int bch2_mark_snapshot(struct btree_trans *trans,
                               U32_MAX - new.k->p.offset,
                               GFP_KERNEL);
        if (!t)
-               return -ENOMEM;
+               return -BCH_ERR_ENOMEM_mark_snapshot;
 
        if (new.k->type == KEY_TYPE_snapshot) {
                struct bkey_s_c_snapshot s = bkey_s_c_to_snapshot(new);