bcachefs: bch2_btree_iter_traverse() shouldn't normally call traverse_all()
authorKent Overstreet <kent.overstreet@gmail.com>
Tue, 27 Jul 2021 22:01:52 +0000 (18:01 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:09 +0000 (17:09 -0400)
commitb4e09b351be7085cada5c08c1eabee5f0eb498b0
tree5d3bdc773b866d96247a82fa0d5e0648a589b0d6
parente5af273fcefb13cdd9e3c27d9ee6c52ee6b12264
bcachefs: bch2_btree_iter_traverse() shouldn't normally call traverse_all()

If there's more than one iterator in the btree_trans, it's requried to
call bch2_trans_begin() to handle transaction restarts.

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