mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
Btrfs: fix sleep with spinlock held during unmount
The code to free block groups needs to drop the space info spin lock before calling btrfs_remove_free_space_cache (which can schedule). This is safe because at unmount time, nobody else is going to play with the block groups. Signed-off-by: Chris Mason <chris.mason@oracle.com>
This commit is contained in:
parent
2b1f55b0f0
commit
4434c33c7f
1 changed files with 4 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue