diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-11-27 07:46:18 +0100 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-01-01 17:47:39 +0100 |
commit | cf5bacb6a5213cd7f59c1dbf11531ff96445027a (patch) | |
tree | 3775e967f79c2e9a9f862a029480b71008c3ee58 /fs/bcachefs/btree_key_cache.c | |
parent | bcachefs: kill journal->preres_wait (diff) | |
download | linux-cf5bacb6a5213cd7f59c1dbf11531ff96445027a.tar.xz linux-cf5bacb6a5213cd7f59c1dbf11531ff96445027a.zip |
bcachefs: delete useless commit_do()
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/btree_key_cache.c')
-rw-r--r-- | fs/bcachefs/btree_key_cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/btree_key_cache.c b/fs/bcachefs/btree_key_cache.c index 95314aaf4b58..b39b28b4ae73 100644 --- a/fs/bcachefs/btree_key_cache.c +++ b/fs/bcachefs/btree_key_cache.c @@ -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: |