smb: smbdirect: introduce smbdirect_socket.first_error

This will be used when a connected conection gets the first error.

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>
This commit is contained in:
Stefan Metzmacher 2025-08-28 12:11:02 +02:00 committed by Steve French
parent cc678b8a89
commit f5b893edde

View File

@ -83,6 +83,7 @@ enum smbdirect_keepalive_status {
struct smbdirect_socket {
enum smbdirect_socket_status status;
wait_queue_head_t status_wait;
int first_error;
/*
* This points to the workqueue to