bcachefs: Fix an iterator counting bug
authorKent Overstreet <kent.overstreet@gmail.com>
Wed, 16 Oct 2019 17:48:12 +0000 (13:48 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:30 +0000 (17:08 -0400)
commit71603f1ffe03d2409d591e4647377a415376a6b9
treedef8dfc8cec0ccd1b2b7b3e1985896e89c40a40c
parentae93a628956c8eab915baa83be11d2a0300eebca
bcachefs: Fix an iterator counting bug

The iterator counting assumed we're doing an obvious optimization when
only updating the refcount on indirect extents - but we're not doing it
yet.

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