]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bcachefs: fix bch2_btree_key_cache_drop()
authorKent Overstreet <kent.overstreet@linux.dev>
Sat, 21 Dec 2024 09:14:28 +0000 (04:14 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Fri, 10 Jan 2025 04:38:41 +0000 (23:38 -0500)
commitf908eacc34c7e8092bd47b7fcf5741943d3b734c
tree60ddf18b9db975aa1126cddabb1b34ab26faffc6
parentbc6fce7870ceda943fdc8451d42407dacb1519e3
bcachefs: fix bch2_btree_key_cache_drop()

When evicting, we shouldn't leave a pointer to the key cache entry lying
around - that screws up btree path asserts we're adding.

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