diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-08-06 22:49:31 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-08-07 08:31:10 -0400 |
commit | 02026e8931366158d7395f87afeb0b535210dbee (patch) | |
tree | 15bc43fd71ef200a09c675cd8e44f4de15d787e4 /fs | |
parent | 90b211fa2da3f36939e84b6426988832a62caf4b (diff) | |
download | lwn-02026e8931366158d7395f87afeb0b535210dbee.tar.gz lwn-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); |