cifs: print server capabilities in DebugData

[ Upstream commit 52768695d3 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Shyam Prasad N 2023-10-30 11:00:07 +00:00 committed by Greg Kroah-Hartman
parent 69a1669a6b
commit 9c88aae1e4

View File

@ -438,6 +438,8 @@ skip_rdma:
if (server->nosharesock) if (server->nosharesock)
seq_printf(m, " nosharesock"); seq_printf(m, " nosharesock");
seq_printf(m, "\nServer capabilities: 0x%x", server->capabilities);
if (server->rdma) if (server->rdma)
seq_printf(m, "\nRDMA "); seq_printf(m, "\nRDMA ");
seq_printf(m, "\nTCP status: %d Instance: %d" seq_printf(m, "\nTCP status: %d Instance: %d"