summaryrefslogtreecommitdiff
path: root/fs/smb/client/cifs_debug.c
diff options
context:
space:
mode:
authorShyam Prasad N <sprasad@microsoft.com>2023-10-30 14:00:07 +0300
committerSteve French <stfrench@microsoft.com>2023-10-31 20:38:26 +0300
commit52768695d36a44d352e9fb79ba27468a5363ab8d (patch)
treeb28549e0b16cc9ac9ccd2c79bfe0f39552a42c19 /fs/smb/client/cifs_debug.c
parent783fa2c94f4150fe1b7f7d88b3baf6d98f82b41b (diff)
downloadlinux-52768695d36a44d352e9fb79ba27468a5363ab8d.tar.xz
cifs: print server capabilities in DebugData
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>
Diffstat (limited to 'fs/smb/client/cifs_debug.c')
-rw-r--r--fs/smb/client/cifs_debug.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/smb/client/cifs_debug.c b/fs/smb/client/cifs_debug.c
index 9a0ccd87468e..6d8804fb6535 100644
--- 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"