summaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifs_debug.c
diff options
context:
space:
mode:
authorSteve French <stfrench@microsoft.com>2018-05-31 00:11:55 +0200
committerSteve French <stfrench@microsoft.com>2018-05-31 00:59:49 +0200
commit5c5a41be89e87c3a9ce2fed3c818770ef12bd2bb (patch)
tree946bc03d17eb594b5acabe8845272731f997f20b /fs/cifs/cifs_debug.c
parentsmb3: add define for id for posix create context and corresponding struct (diff)
downloadlinux-5c5a41be89e87c3a9ce2fed3c818770ef12bd2bb.tar.xz
linux-5c5a41be89e87c3a9ce2fed3c818770ef12bd2bb.zip
cifs: add debug output to show nocase mount option
For smb1 nocase can be specified on mount. Allow displaying it in debug data. Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/cifs_debug.c')
-rw-r--r--fs/cifs/cifs_debug.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/cifs/cifs_debug.c b/fs/cifs/cifs_debug.c
index 842b198d8516..3985dc409bbd 100644
--- a/fs/cifs/cifs_debug.c
+++ b/fs/cifs/cifs_debug.c
@@ -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)