smb: client: let smbd_disconnect_rdma_connection() disable all work but disconnect_work
authorStefan Metzmacher <metze@samba.org>
Thu, 28 Aug 2025 10:15:11 +0000 (12:15 +0200)
committerSteve French <stfrench@microsoft.com>
Sun, 28 Sep 2025 23:29:51 +0000 (18:29 -0500)
commit0cb7ed37af614bbda39dab3d13f0639458d77cae
tree7b6b64a6ffe1008710fc391925495441a33cc914
parent98a1cdca35eac55407c76067cdffd19aade0026c
smb: client: let smbd_disconnect_rdma_connection() disable all work but disconnect_work

There's no point run these if we already know the connection
is broken.

Cc: Steve French <smfrench@gmail.com>
Cc: Tom Talpey <tom@talpey.com>
Cc: Long Li <longli@microsoft.com>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
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