]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
smb: server: smb_direct_disconnect_rdma_connection() already wakes all waiters on...
authorStefan Metzmacher <metze@samba.org>
Mon, 20 Oct 2025 18:35:59 +0000 (20:35 +0200)
committerSteve French <stfrench@microsoft.com>
Thu, 23 Oct 2025 01:10:44 +0000 (20:10 -0500)
commit8059c64049587dac8af37ad82e2034b64c2d9fee
treeb9a109afc2e7152ceb7abee4368df234ee104dd8
parent68335cbcddcd586b59820e6d484652ad62343112
smb: server: smb_direct_disconnect_rdma_connection() already wakes all waiters on error

There's no need to care about pending or credit counters when we
already disconnecting.

And all related wait_event conditions already check for broken
connections too.

This will simplify the code and makes the following changes simpler.

Cc: Namjae Jeon <linkinjeon@kernel.org>
Cc: Steve French <smfrench@gmail.com>
Cc: Tom Talpey <tom@talpey.com>
Cc: linux-cifs@vger.kernel.org
Cc: samba-technical@lists.samba.org
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/server/transport_rdma.c