bcachefs: Fix bch2_btree_iter_advance()
authorKent Overstreet <kent.overstreet@gmail.com>
Thu, 28 Oct 2021 20:34:17 +0000 (16:34 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:15 +0000 (17:09 -0400)
commit6caf05785060b2522f577b000849bbc172efb135
treea76d69d939cd6a25bc2de8fa253ec923ab75625f
parent41f9b7d39fb11c9f306809681bb6991ac96f9b2e
bcachefs: Fix bch2_btree_iter_advance()

Was popping an assertion on !BTREE_ITER_ALL_SNAPSHOTS iters when getting
to the end.

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