Skip to content
Commit 19c4d2f9 authored by Chris Mason's avatar Chris Mason
Browse files

Revert "btrfs: let btrfs_delete_unused_bgs() to clean relocated bgs"



This reverts commit 5d8eb6fe.

When we remove devices, we free the device structures.  Delaying
btfs_remove_chunk() ends up hitting a use-after-free on them.

Signed-off-by: default avatarChris Mason <clm@fb.com>
parent 196e0249
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment