From: Josef Bacik Date: Wed, 15 Oct 2014 21:19:59 +0000 (-0400) Subject: Btrfs: properly clean up btrfs_end_io_wq_cache X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9c4b3b617474bdf6d6f4a345e462375e6a2a9c0;p=linux Btrfs: properly clean up btrfs_end_io_wq_cache In one of Dave's cleanup commits he forgot to call btrfs_end_io_wq_exit on unload, which makes us unable to unload and then re-load the btrfs module. This fixes the problem. Thanks, Signed-off-by: Josef Bacik Reviewed-by: David Sterba Reviewed-by: Miao Xie Signed-off-by: Chris Mason (cherry picked from commit 5ed5f5884116e3841da626d201ef068f23232a3a) --- diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c index dc878b74913b1..cde9c03e39130 100644 --- a/fs/btrfs/super.c +++ b/fs/btrfs/super.c @@ -2151,6 +2151,7 @@ static void __exit exit_btrfs_fs(void) extent_map_exit(); extent_io_exit(); btrfs_interface_exit(); + btrfs_end_io_wq_exit(); unregister_filesystem(&btrfs_fs_type); btrfs_exit_sysfs(); btrfs_cleanup_fs_uuids();