diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2022-07-13 05:25:29 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:09:35 -0400 |
commit | e68914ca849fa51167e2136ad9f6b43c22956d3c (patch) | |
tree | 0ad2c2b81e5ada7139ff2fd561177354c9e220c4 /fs/bcachefs/lru.c | |
parent | 80b3bf33d35e8f5bf4323be71777e9aab66c3a90 (diff) |
bcachefs: Rename __bch2_trans_do() -> commit_do()
Better/more descriptive naming, and prep for adding
nested_lockrestart_do() and nested_commit_do().
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'fs/bcachefs/lru.c')
-rw-r--r-- | fs/bcachefs/lru.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/lru.c b/fs/bcachefs/lru.c index 5a09b55006ff..94ecb3a39760 100644 --- a/fs/bcachefs/lru.c +++ b/fs/bcachefs/lru.c @@ -204,7 +204,7 @@ int bch2_check_lrus(struct bch_fs *c) for_each_btree_key(&trans, iter, BTREE_ID_lru, POS_MIN, BTREE_ITER_PREFETCH, k, ret) { - ret = __bch2_trans_do(&trans, NULL, NULL, + ret = commit_do(&trans, NULL, NULL, BTREE_INSERT_NOFAIL| BTREE_INSERT_LAZY_RW, bch2_check_lru_key(&trans, &iter)); |