cifs: print CIFSMaxBufSize as part of /proc/fs/cifs/DebugData
authorRonnie Sahlberg <lsahlber@redhat.com>
Thu, 24 Jan 2019 06:19:31 +0000 (16:19 +1000)
committerSteve French <stfrench@microsoft.com>
Thu, 24 Jan 2019 20:52:06 +0000 (14:52 -0600)
Was helpful in debug for some recent problems.

Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/cifs_debug.c

index 593fb422d0f3e63f5e51f95e2f9d7eee25c78c33..e92a2fee3c577bd7fc8c63e3e10edf079ca97686 100644 (file)
@@ -252,6 +252,7 @@ static int cifs_debug_data_proc_show(struct seq_file *m, void *v)
        seq_printf(m, ",ACL");
 #endif
        seq_putc(m, '\n');
+       seq_printf(m, "CIFSMaxBufSize: %d\n", CIFSMaxBufSize);
        seq_printf(m, "Active VFS Requests: %d\n", GlobalTotalActiveXid);
        seq_printf(m, "Servers:");