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)
committerSteve French <stfrench@microsoft.com>
Thu, 7 Aug 2025 17:40:11 +0000 (12:40 -0500)
commit550a194c5998e4e77affc6235e80d3766dc2d27e
tree24e5ec245ab320f63cb4b7456dc2dce86207a0f2
parent761399745710fd37fa4312af1b675b2fe73c1c52
smb: client: don't call init_waitqueue_head(&info->conn_wait) twice in _smbd_get_connection

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>
fs/smb/client/smbdirect.c