Skip to content

Commit

Permalink
cifs: print server capabilities in DebugData
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Shyam Prasad N authored and Steve French committed Oct 31, 2023
1 parent 783fa2c commit 5276869
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fs/smb/client/cifs_debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -427,6 +427,8 @@ static int cifs_debug_data_proc_show(struct seq_file *m, void *v)
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"
Expand Down

0 comments on commit 5276869

Please sign in to comment.