Commit 061f7999 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Fix a use after free



This fixes a regression from percpu freedlists in the btree key cache
code: in a rare error path, we were immediately freeing a bkey_cached
that had been used before and should've waited for an SRCU barrier.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 961cbdef
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