]> git.sesse.net Git - bcachefs-tools-debian/blobdiff - libbcachefs/recovery.c
Update bcachefs sources to 6bb1ba5c94 bcachefs: Improve alloc_mem_to_key()
[bcachefs-tools-debian] / libbcachefs / recovery.c
index c3b4d116275cd6e5621941d1765491d7c80ecbaf..29fe6260ace5ad6c9ecb6d55765edd6a296f5382 100644 (file)
@@ -1238,8 +1238,7 @@ use_clean:
                 */
                bch_verbose(c, "writing allocation info");
                err = "error writing out alloc info";
-               ret = bch2_stripes_write(c, BTREE_INSERT_LAZY_RW) ?:
-                       bch2_alloc_write(c, BTREE_INSERT_LAZY_RW);
+               ret = bch2_alloc_write_all(c, BTREE_INSERT_LAZY_RW);
                if (ret) {
                        bch_err(c, "error writing alloc info");
                        goto err;