cifs: fix rmmod regression in cifs.ko caused by force_sig changes
authorSteve French <stfrench@microsoft.com>
Wed, 24 Jul 2019 03:14:29 +0000 (22:14 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Jan 2020 13:51:03 +0000 (14:51 +0100)
commit7f6a96dd8223796ffae4dd251be3bff161a28a4b
treebf0e07213ff18db2660f653d6d2264848f8be7d7
parent153797c47a5722373d07101f31f3f55f04e79c83
cifs: fix rmmod regression in cifs.ko caused by force_sig changes

[ Upstream commit 247bc9470b1eeefc7b58cdf2c39f2866ba651509 ]

Fixes: 72abe3bcf091 ("signal/cifs: Fix cifs_put_tcp_session to call send_sig instead of force_sig")

The global change from force_sig caused module unloading of cifs.ko
to fail (since the cifsd process could not be killed, "rmmod cifs"
now would always fail)

Signed-off-by: Steve French <stfrench@microsoft.com>
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
CC: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/cifs/connect.c