bcachefs: Fix assertion in bch2_btree_key_cache_drop()
authorKent Overstreet <kent.overstreet@gmail.com>
Fri, 12 Aug 2022 01:06:43 +0000 (21:06 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:38 +0000 (17:09 -0400)
commit45b033fa1afd35a8eab0af003ffac9413548f476
treeda8b076659887d2db70e68704f939e9d1a7c3768
parentff7dc3651d5bdcc9d9fe4ace3da21f0f5c2bd778
bcachefs: Fix assertion in bch2_btree_key_cache_drop()

Turns out this assertion was something we could legitimately hit - add a
comment describing what's going on, and handle it.

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