summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2025-08-28 12:11:02 +0200
committerSteve French <stfrench@microsoft.com>2025-09-28 18:29:48 -0500
commitf5b893edde7bcd15246dfeefd25082fe637db647 (patch)
tree1a0dec2ba3615a6644b7bc1abf7e4d4e3c79037d
parentcc678b8a89291ef55c8dfc01391506f1234c6cae (diff)
downloadlinux-f5b893edde7bcd15246dfeefd25082fe637db647.tar.gz
linux-f5b893edde7bcd15246dfeefd25082fe637db647.zip
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>
-rw-r--r--fs/smb/common/smbdirect/smbdirect_socket.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/smb/common/smbdirect/smbdirect_socket.h b/fs/smb/common/smbdirect/smbdirect_socket.h
index 5e25abc02364..db22a1d0546b 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