Commit 995f9128 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Fix try_decrease_writepoints()



 - We may need to drop btree locks before taking the writepoint_lock, as
   is done in other places.
 - We should be using open_bucket_free_unused(), so that we don't waste
   space.

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