cifs: print server capabilities in DebugData
authorShyam Prasad N <sprasad@microsoft.com>
Mon, 30 Oct 2023 11:00:07 +0000 (11:00 +0000)
committerSteve 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

index 9a0ccd87468ea4b66e7c4ce966ea963891017b5e..6d8804fb6535c105f9a9d3f9433739eaf3800a1a 100644 (file)
@@ -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"