bcachefs: Always clear should_be_locked in bch2_trans_begin()
authorKent Overstreet <kent.overstreet@gmail.com>
Thu, 24 Feb 2022 18:27:31 +0000 (13:27 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:25 +0000 (17:09 -0400)
commit25a7723182ee62a8e74b204acbd117e4d6c12341
tree081a46edc601a7feefe3de3f1cf3f7741429129b
parent0c10cf852551edca80a2b711de1c84fd001ffd02
bcachefs: Always clear should_be_locked in bch2_trans_begin()

bch2_trans_begin() invalidates all iterators, until they're revalidated
by calling peek() or traverse().

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
fs/bcachefs/btree_iter.c