Commit 02026e89 authored by Kent Overstreet's avatar Kent Overstreet

bcachefs: Add missing bch2_trans_begin() call

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 90b211fa
......@@ -406,6 +406,7 @@ static void bch2_read_retry_nodecode(struct bch_fs *c, struct bch_read_bio *rbio
bch2_trans_iter_init(trans, &iter, rbio->data_btree,
rbio->read_pos, BTREE_ITER_slots);
retry:
bch2_trans_begin(trans);
rbio->bio.bi_status = 0;
k = bch2_btree_iter_peek_slot(&iter);
......
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