bcachefs: Free iterator if we have duplicate
authorKent Overstreet <kent.overstreet@gmail.com>
Mon, 23 Aug 2021 21:19:17 +0000 (17:19 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:10 +0000 (17:09 -0400)
commitdc02bed6d9b8c85a8db686fecac5749fbde8cba1
tree4f835b1e468610a56406f26365bc5956e084a1d7
parentf4ccfe07e20e52a5f6ace9ef995bca1c07a70fac
bcachefs: Free iterator if we have duplicate

This helps - but does not fully fix - the outstanding "transaction
iterator overflow" bugs.

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