Commit cf5bacb6 authored by Kent Overstreet's avatar Kent Overstreet

bcachefs: delete useless commit_do()

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 8ab3fa96
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment