Skip to content

Commit 5ed5f58

Browse files
Josef Bacikmasoncl
authored andcommitted
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]> Reviewed-by: David Sterba <[email protected]> Reviewed-by: Miao Xie <[email protected]> Signed-off-by: Chris Mason <[email protected]>
1 parent 1a4ed8f commit 5ed5f58

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fs/btrfs/super.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2151,6 +2151,7 @@ static void __exit exit_btrfs_fs(void)
21512151
extent_map_exit();
21522152
extent_io_exit();
21532153
btrfs_interface_exit();
2154+
btrfs_end_io_wq_exit();
21542155
unregister_filesystem(&btrfs_fs_type);
21552156
btrfs_exit_sysfs();
21562157
btrfs_cleanup_fs_uuids();

0 commit comments

Comments
 (0)