commit | 19c4d2f994788a954af1aa7e53b0fdb46fd7925a | [log] [tgz] |
---|---|---|
author | Chris Mason <clm@fb.com> | Mon Oct 10 13:43:31 2016 -0700 |
committer | Chris Mason <clm@fb.com> | Mon Oct 10 13:43:31 2016 -0700 |
tree | 1c2a40e3866668a68b4bfc4ff774295f3f660bc5 | |
parent | 196e02490c934398f894e5cb0ee1ac8ad13ca576 [diff] |
Revert "btrfs: let btrfs_delete_unused_bgs() to clean relocated bgs" This reverts commit 5d8eb6fe517583f9c6d5b94faf2254a0207a45c9. 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: Chris Mason <clm@fb.com>