bcachefs: add missing bch2_trans_begin() call
authorKent Overstreet <kent.overstreet@gmail.com>
Tue, 23 Jul 2019 22:56:28 +0000 (18:56 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:24 +0000 (17:08 -0400)
commita9058a223fd2168d96195df3b918e395be8869e3
tree9ae4b35ad60374deefc1b77e85a101345199c82a
parent06ed855862853dcdd365a12f7cf182961bec61de
bcachefs: add missing bch2_trans_begin() call

for_each_btree_key() calls bch2_trans_get_iter() - we have to reset the
transaction state before getting the iterator again, in the retry path

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/io.c