summaryrefslogtreecommitdiffstats
path: root/fs/smb
diff options
context:
space:
mode:
authorEnzo Matsumiya <ematsumiya@suse.de>2024-12-10 14:21:48 +0100
committerSteve French <stfrench@microsoft.com>2024-12-11 03:47:39 +0100
commit633609c48a358134d3f8ef8241dff24841577f58 (patch)
tree339e20d9f98c8163ba968b834d3db292e312b0fd /fs/smb
parentcifs: Use str_yes_no() helper in cifs_ses_add_channel() (diff)
downloadlinux-633609c48a358134d3f8ef8241dff24841577f58.tar.xz
linux-633609c48a358134d3f8ef8241dff24841577f58.zip
smb: client: destroy cfid_put_wq on module exit
Fix potential problem in rmmod Signed-off-by: Enzo Matsumiya <ematsumiya@suse.de> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/smb')
-rw-r--r--fs/smb/client/cifsfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/smb/client/cifsfs.c b/fs/smb/client/cifsfs.c
index c9f9b6e97964..9d96b833015c 100644
--- a/fs/smb/client/cifsfs.c
+++ b/fs/smb/client/cifsfs.c
@@ -2043,6 +2043,7 @@ exit_cifs(void)
destroy_workqueue(decrypt_wq);
destroy_workqueue(fileinfo_put_wq);
destroy_workqueue(serverclose_wq);
+ destroy_workqueue(cfid_put_wq);
destroy_workqueue(cifsiod_wq);
cifs_proc_clean();
}