summaryrefslogtreecommitdiff
path: root/fs/bcachefs/btree_io.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2021-08-24 21:30:06 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 17:09:10 -0400
commit9f6bd30703a32c25988c6aca87c1be1baddc57bd (patch)
treea5dc43e042198b4969c84ca814b2aa8c99548c01 /fs/bcachefs/btree_io.c
parent84841b0d1320c2084facb2f040d6ac0dfced943e (diff)
downloadlwn-9f6bd30703a32c25988c6aca87c1be1baddc57bd.tar.gz
lwn-9f6bd30703a32c25988c6aca87c1be1baddc57bd.zip
bcachefs: Reduce iter->trans usage
Disfavoured, and should go away. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'fs/bcachefs/btree_io.c')
-rw-r--r--fs/bcachefs/btree_io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/btree_io.c b/fs/bcachefs/btree_io.c
index e42ade7cbc4b..99799d93cf09 100644
--- a/fs/bcachefs/btree_io.c
+++ b/fs/bcachefs/btree_io.c
@@ -498,7 +498,7 @@ void bch2_btree_init_next(struct btree_trans *trans,
bch2_btree_build_aux_trees(b);
if (iter && reinit_iter)
- bch2_btree_iter_reinit_node(iter, b);
+ bch2_btree_iter_reinit_node(trans, iter, b);
}
static void btree_pos_to_text(struct printbuf *out, struct bch_fs *c,