diff options
| author | Stefan Metzmacher <metze@samba.org> | 2025-08-07 18:12:13 +0200 |
|---|---|---|
| committer | Steve French <stfrench@microsoft.com> | 2025-08-07 12:40:11 -0500 |
| commit | 550a194c5998e4e77affc6235e80d3766dc2d27e (patch) | |
| tree | 24e5ec245ab320f63cb4b7456dc2dce86207a0f2 /fs/smb | |
| parent | smb: client: improve logging in smbd_conn_upcall() (diff) | |
| download | linux-550a194c5998e4e77affc6235e80d3766dc2d27e.tar.gz linux-550a194c5998e4e77affc6235e80d3766dc2d27e.zip | |
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>
Diffstat (limited to 'fs/smb')
| -rw-r--r-- | fs/smb/client/smbdirect.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/smb/client/smbdirect.c b/fs/smb/client/smbdirect.c index 8ed4ab6f1d3a..c819cc6dcc4f 100644 --- a/fs/smb/client/smbdirect.c +++ b/fs/smb/client/smbdirect.c @@ -1716,7 +1716,6 @@ negotiation_failed: cancel_delayed_work_sync(&info->idle_timer_work); destroy_caches_and_workqueue(info); sc->status = SMBDIRECT_SOCKET_NEGOTIATE_FAILED; - init_waitqueue_head(&info->conn_wait); rdma_disconnect(sc->rdma.cm_id); wait_event(info->conn_wait, sc->status == SMBDIRECT_SOCKET_DISCONNECTED); |
