Commit 0196eb89 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: bch2_btree_key_cache_scan() doesn't need trylock



We don't actually allocate memory under the btree key cache lock - so
there's no recursion concerns, and the shrinker can just use
mutex_lock().

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent d1b2c864
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment