projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
783fa2c
)
cifs: print server capabilities in DebugData
author
Shyam Prasad N
<sprasad@microsoft.com>
Mon, 30 Oct 2023 11:00:07 +0000
(11:00 +0000)
committer
Steve French
<stfrench@microsoft.com>
Tue, 31 Oct 2023 17:38:26 +0000
(12:38 -0500)
In the output of /proc/fs/cifs/DebugData, we do not
print the server->capabilities field today.
With this change, we will do that.
Signed-off-by: Shyam Prasad N <sprasad@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/cifs_debug.c
patch
|
blob
|
history
diff --git
a/fs/smb/client/cifs_debug.c
b/fs/smb/client/cifs_debug.c
index 9a0ccd87468ea4b66e7c4ce966ea963891017b5e..6d8804fb6535c105f9a9d3f9433739eaf3800a1a 100644
(file)
--- a/
fs/smb/client/cifs_debug.c
+++ b/
fs/smb/client/cifs_debug.c
@@
-427,6
+427,8
@@
skip_rdma:
if (server->nosharesock)
seq_printf(m, " nosharesock");
+ seq_printf(m, "\nServer capabilities: 0x%x", server->capabilities);
+
if (server->rdma)
seq_printf(m, "\nRDMA ");
seq_printf(m, "\nTCP status: %d Instance: %d"