]> git.sesse.net Git - bcachefs-tools-debian/blobdiff - libbcachefs/btree_update_interior.c
Update bcachefs sources to 84505cfd37 bcachefs: Go RW before check_alloc_info()
[bcachefs-tools-debian] / libbcachefs / btree_update_interior.c
index a4476f1662ea738e0e0e01c0cf5d61b0aea036eb..a49e7b6b416d95355dc3a929a6c9e6b4f00e03b3 100644 (file)
@@ -1162,7 +1162,7 @@ bch2_btree_update_start(struct btree_trans *trans, struct btree_path *path,
 
                        bch2_trans_unlock(trans);
                        closure_sync(&cl);
-               } while (ret == -EAGAIN);
+               } while (bch2_err_matches(ret, BCH_ERR_operation_blocked));
        }
 
        if (ret) {