bcachefs: Fix bch2_gc_btree_gens()
authorKent Overstreet <kent.overstreet@gmail.com>
Fri, 9 Apr 2021 19:10:24 +0000 (15:10 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:59 +0000 (17:08 -0400)
commit0e96452eef51f32417d2abdb1806474083da5979
tree9b411ed92ee4ca25eaf92f753987fce83d1a02cb
parent6ae0d16d29707ac952cdb8c2ccb0628f074e0e69
bcachefs: Fix bch2_gc_btree_gens()

Since we're using a NOT_EXTENTS iterator, we shouldn't be setting the
iter pos to the start of the extent.

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