From: Stefan Metzmacher Date: Thu, 28 Aug 2025 10:11:02 +0000 (+0200) Subject: smb: smbdirect: introduce smbdirect_socket.first_error X-Git-Tag: v6.18-rc1~225^2~135 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f5b893edde7bcd15246dfeefd25082fe637db647;p=thirdparty%2Fkernel%2Fstable.git smb: smbdirect: introduce smbdirect_socket.first_error This will be used when a connected conection gets the first error. Cc: Steve French Cc: Tom Talpey Cc: Long Li Acked-by: Namjae Jeon Cc: linux-cifs@vger.kernel.org Cc: samba-technical@lists.samba.org Signed-off-by: Stefan Metzmacher Signed-off-by: Steve French --- diff --git a/fs/smb/common/smbdirect/smbdirect_socket.h b/fs/smb/common/smbdirect/smbdirect_socket.h index 5e25abc023649..db22a1d0546b4 100644 --- a/fs/smb/common/smbdirect/smbdirect_socket.h +++ b/fs/smb/common/smbdirect/smbdirect_socket.h @@ -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