Btrfs: properly clean up btrfs_end_io_wq_cache
PATCH 1/1 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 <[email protected]>
--- fs/btrfs/super.c | 1 + 1 file changed, 1 insertion(+)
fs/btrfs/super.c +1 -0
@@ -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 ();
Signature · 1 line
1.8.3.1
Quoted 3 lines · Josef Bacik
In one of Dave's cleanup commits he forgot to call
btrfs_end_io_wq_exiton unload, which makes us unable to unload and then re-load the btrfs module. This fixes the problem. Thanks,
Oh crap, sorry.
Reviewed-by David Sterba <[email protected]>
Quoted 5 lines · Josef Bacik
In one of Dave's cleanup commits he forgot to call
btrfs_end_io_wq_exiton unload, which makes us unable to unload and then re-load the btrfs module. This fixes the problem. Thanks,Signed-off-by Josef Bacik <[email protected]>
Reviewed-by Miao Xie <[email protected]>
Quoted 17 lines
--- fs/btrfs/super.c | 1 + 1 file changed, 1 insertion(+)fs/btrfs/super.c +1
-0@@ -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 ();