cifs: Unlock on errors in cifs_swn_reconnect()
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 17 Dec 2020 11:02:29 +0000 (14:02 +0300)
committerSteve French <stfrench@microsoft.com>
Fri, 18 Dec 2020 06:02:28 +0000 (00:02 -0600)
commiteedf8e88e5f08d95e1c6a33189bb4cdf2db5b79f
treea7ae837ee55b7968902f4cf048cab4e22a72a82d
parent6a29ab57f4e903264ea7b6663352244379c0a8e5
cifs: Unlock on errors in cifs_swn_reconnect()

There are three error paths which need to unlock before returning.

Fixes: 121d947d4fe1 ("cifs: Handle witness client move notification")
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