WSL2-Linux-Kernel/fs/smbfs_common
Vincent Whitchurch d14bad8c11 cifs: Fix crash on unload of cifs_arc4.ko
commit 51a08bdeca upstream.

The exit function is wrongly placed in the __init section and this leads
to a crash when the module is unloaded.  Just remove both the init and
exit functions since this module does not need them.

Fixes: 71c0286324 ("cifs: fork arc4 and create a separate module...")
Signed-off-by: Vincent Whitchurch <vincent.whitchurch@axis.com>
Acked-by: Ronnie Sahlberg <lsahlber@redhat.com>
Acked-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Cc: stable@vger.kernel.org # 5.15
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-12-14 10:57:12 +01:00
..
Makefile
arc4.h
cifs_arc4.c cifs: Fix crash on unload of cifs_arc4.ko 2021-12-14 10:57:12 +01:00
cifs_md4.c
md4.h
smbfsctl.h cifs: remove pathname for file from SPDX header 2021-09-13 14:51:10 -05:00