bcachefs: Fix a btree iter assertion pop
authorKent Overstreet <kent.overstreet@linux.dev>
Fri, 2 Dec 2022 17:45:37 +0000 (12:45 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:47 +0000 (17:09 -0400)
commit5c792e1b64cb5b87129f7226d610fd63465039bd
tree6957fbf3f5c29aa1e108f63c39b43c810ad9b441
parent230fa1c735496a2f89eb8bcc1471a46f0d917975
bcachefs: Fix a btree iter assertion pop

This fixes a (harmless) broken invariant in __bch2_btree_path_set_pos():
iterators to interior nodes should point to the first non whiteout.

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