bcachefs: Fix gc of stale ptr gens
authorKent Overstreet <kent.overstreet@gmail.com>
Tue, 13 Oct 2020 07:58:50 +0000 (03:58 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:44 +0000 (17:08 -0400)
commitc47c50f8564a5bacff1afaa2adc8f46ef49935b4
treebd9b8371bd0fd687700cacc01d85668364c5593e
parent9ee38f62da22625d9cd8919d9bbe1e4f0e36b9c3
bcachefs: Fix gc of stale ptr gens

Awhile back, gcing of stale pointers was split out from full
mark-and-sweep gc - but, the bit to actually drop those stale pointers
wasn't implemnted. Whoops.

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