Skip to content
Commit 3727ca56 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Fix a locking bug in the do_discard_fast() path



We can't discard a bucket while it's still open; this needs the
bucket_is_open_safe() version, which takes the open_buckets lock.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent d47df4f6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment