From 5c5a41be89e87c3a9ce2fed3c818770ef12bd2bb Mon Sep 17 00:00:00 2001 From: Steve French Date: Wed, 30 May 2018 17:11:55 -0500 Subject: [PATCH] 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 --- fs/cifs/cifs_debug.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/cifs/cifs_debug.c b/fs/cifs/cifs_debug.c index 842b198..3985dc4 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) -- 2.7.4