Skip to content

Commit 5276869

Browse files
sprasad-microsoftSteve French
authored andcommitted
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 <[email protected]> Signed-off-by: Steve French <[email protected]>
1 parent 783fa2c commit 5276869

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

fs/smb/client/cifs_debug.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -427,6 +427,8 @@ static int cifs_debug_data_proc_show(struct seq_file *m, void *v)
427427
if (server->nosharesock)
428428
seq_printf(m, " nosharesock");
429429

430+
seq_printf(m, "\nServer capabilities: 0x%x", server->capabilities);
431+
430432
if (server->rdma)
431433
seq_printf(m, "\nRDMA ");
432434
seq_printf(m, "\nTCP status: %d Instance: %d"

0 commit comments

Comments
 (0)