diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-08-07 04:49:31 +0200 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-08-07 14:31:10 +0200 |
commit | 02026e8931366158d7395f87afeb0b535210dbee (patch) | |
tree | 15bc43fd71ef200a09c675cd8e44f4de15d787e4 /fs | |
parent | bcachefs: Add a comment for bucket helper types (diff) | |
download | linux-02026e8931366158d7395f87afeb0b535210dbee.tar.xz linux-02026e8931366158d7395f87afeb0b535210dbee.zip |
bcachefs: Add missing bch2_trans_begin() call
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/bcachefs/io_read.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bcachefs/io_read.c b/fs/bcachefs/io_read.c index 4531c9ab3e12..7ee3b75480df 100644 --- a/fs/bcachefs/io_read.c +++ b/fs/bcachefs/io_read.c @@ -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); |