cifs: add debug output to show nocase mount option
authorSteve French <stfrench@microsoft.com>
Wed, 30 May 2018 22:11:55 +0000 (17:11 -0500)
committerSteve French <stfrench@microsoft.com>
Wed, 30 May 2018 22:59:49 +0000 (17:59 -0500)
For smb1 nocase can be specified on mount.  Allow displaying it
in debug data.

Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/cifs_debug.c

index 842b198..3985dc4 100644 (file)
@@ -114,6 +114,8 @@ static void cifs_debug_tcon(struct seq_file *m, struct cifs_tcon *tcon)
                seq_printf(m, " type: %d ", dev_type);
        if (tcon->seal)
                seq_printf(m, " Encrypted");
+       if (tcon->nocase)
+               seq_printf(m, " nocase");
        if (tcon->unix_ext)
                seq_printf(m, " POSIX Extensions");
        if (tcon->ses->server->ops->dump_share_caps)