]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: Delete a stray unlock in cifs_swn_reconnect()
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 17 Dec 2020 11:01:48 +0000 (14:01 +0300)
committerSteve French <stfrench@microsoft.com>
Fri, 18 Dec 2020 06:02:16 +0000 (00:02 -0600)
commit966faeb0bb17543255c12cc5b67ad6d8c50cd3a2
tree82f4664b7352b9282ccd3abe1b771c96f219ed6f
parent8d5a5fc1ac61978e40191d04d45becf506dcb9e4
cifs: Delete a stray unlock in cifs_swn_reconnect()

The unlock is done in the caller, this is a stray which leads to a
double unlock bug.

Fixes: d83ba0a80908 ("cifs: Send witness register and unregister commands to userspace daemon")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Samuel Cabrero <scabrero@suse.de>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/cifs_swn.c