Skip to content

Commit 02026e8

Browse files
author
Kent Overstreet
committed
bcachefs: Add missing bch2_trans_begin() call
Signed-off-by: Kent Overstreet <[email protected]>
1 parent 90b211f commit 02026e8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fs/bcachefs/io_read.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,7 @@ static void bch2_read_retry_nodecode(struct bch_fs *c, struct bch_read_bio *rbio
406406
bch2_trans_iter_init(trans, &iter, rbio->data_btree,
407407
rbio->read_pos, BTREE_ITER_slots);
408408
retry:
409+
bch2_trans_begin(trans);
409410
rbio->bio.bi_status = 0;
410411

411412
k = bch2_btree_iter_peek_slot(&iter);

0 commit comments

Comments
 (0)