]> git.sesse.net Git - bcachefs-tools-debian/blobdiff - libbcachefs/btree_key_cache.c
Update bcachefs sources to c3e4d892b77b mean and variance: Promote to lib/math
[bcachefs-tools-debian] / libbcachefs / btree_key_cache.c
index c64f8db0673387fc2f456914a0789de907a1b54b..c5e8a46129c55dd1d1b82ba6b945c628c5f3c001 100644 (file)
@@ -737,7 +737,7 @@ int bch2_btree_key_cache_journal_flush(struct journal *j,
        }
        six_unlock_read(&ck->c.lock);
 
-       ret = commit_do(trans, NULL, NULL, 0,
+       ret = lockrestart_do(trans,
                btree_key_cache_flush_pos(trans, key, seq,
                                BCH_TRANS_COMMIT_journal_reclaim, false));
 unlock: