]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
smb: client: don't call init_waitqueue_head(&info->conn_wait) twice in _smbd_get_conn...
authorStefan Metzmacher <metze@samba.org>
Thu, 7 Aug 2025 16:12:13 +0000 (18:12 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Aug 2025 16:41:31 +0000 (18:41 +0200)
commit30237af91d9dbc5cd164a1c65df1401421d6edaf
tree254c745064eed7931272a9ca0906262f361e829e
parent54d959676df65ca7b6b5833ab99d6fa792216ee8
smb: client: don't call init_waitqueue_head(&info->conn_wait) twice in _smbd_get_connection

[ Upstream commit 550a194c5998e4e77affc6235e80d3766dc2d27e ]

It is already called long before we may hit this cleanup code path.

Cc: Steve French <smfrench@gmail.com>
Cc: Tom Talpey <tom@talpey.com>
Cc: Long Li <longli@microsoft.com>
Cc: linux-cifs@vger.kernel.org
Cc: samba-technical@lists.samba.org
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/smb/client/smbdirect.c