]> www.infradead.org Git - users/jedix/linux-maple.git/commit
cifs: unlock on error in smb3_reconfigure()
authorDan Carpenter <dan.carpenter@linaro.org>
Fri, 15 Nov 2024 09:13:58 +0000 (12:13 +0300)
committerSteve French <stfrench@microsoft.com>
Thu, 28 Nov 2024 15:51:11 +0000 (09:51 -0600)
commitcda88d2fef7aa7de80b5697e8009fcbbb436f42d
tree7913e1c161bdc51fd5a9f037111167e1b8211b12
parent0f0e357902957fba28ed31bde0d6921c6bd1485d
cifs: unlock on error in smb3_reconfigure()

Unlock before returning if smb3_sync_session_ctx_passwords() fails.

Fixes: 7e654ab7da03 ("cifs: during remount, make sure passwords are in sync")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Bharath SM <bharathsm@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/fs_context.c