commit | 4434c33c7f233a7ee5dcaf357fbf795818ea8861 | [log] [tgz] |
---|---|---|
author | Chris Mason <chris.mason@oracle.com> | Wed Sep 24 12:50:10 2008 -0400 |
committer | Chris Mason <chris.mason@oracle.com> | Thu Sep 25 15:41:59 2008 -0400 |
tree | 76ba6f9d94368b176aff788a29449fe759512043 | |
parent | 2b1f55b0f0d0d1a66470ef4ea2696cd5dd741a12 [diff] |
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>