From: Shyam Prasad N Date: Mon, 30 Oct 2023 11:00:07 +0000 (+0000) Subject: cifs: print server capabilities in DebugData X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=52768695d36a44d352e9fb79ba27468a5363ab8d;p=linux.git 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 Signed-off-by: Steve French --- diff --git a/fs/smb/client/cifs_debug.c b/fs/smb/client/cifs_debug.c index 9a0ccd87468ea..6d8804fb6535c 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"