summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/super.c
diff options
context:
space:
mode:
authorJosef Bacik2014-10-15 23:19:59 +0200
committerChris Mason2014-10-27 21:16:53 +0100
commit5ed5f5884116e3841da626d201ef068f23232a3a (patch)
tree8aa9e4e6ddb26bd8fc538880536b8927ddfb9883 /fs/btrfs/super.c
parentBtrfs: fix invalid leaf slot access in btrfs_lookup_extent() (diff)
downloadkernel-qcow2-linux-5ed5f5884116e3841da626d201ef068f23232a3a.tar.gz
kernel-qcow2-linux-5ed5f5884116e3841da626d201ef068f23232a3a.tar.xz
kernel-qcow2-linux-5ed5f5884116e3841da626d201ef068f23232a3a.zip
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 <jbacik@fb.com> Reviewed-by: David Sterba <dsterba@suse.cz> Reviewed-by: Miao Xie <miaox@cn.fujitsu.com> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/btrfs/super.c')
-rw-r--r--fs/btrfs/super.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c
index a2b97ef10317..54bd91ece35b 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();