summaryrefslogtreecommitdiff
path: root/fs/cifs/cifs_debug.c
diff options
context:
space:
mode:
authorSteve French <stfrench@microsoft.com>2018-08-02 06:34:04 +0300
committerSteve French <stfrench@microsoft.com>2018-08-07 22:30:59 +0300
commitd258650004617fbd5dfe97d77d26fb37187d06e9 (patch)
treed159855ab17a88eb2d2bef24193fceb6edda3d7b /fs/cifs/cifs_debug.c
parent020eec5f712ffb4254233490076cc21600b810db (diff)
downloadlinux-d258650004617fbd5dfe97d77d26fb37187d06e9.tar.xz
smb3: fix minor debug output for CONFIG_CIFS_STATS
CONFIG_CIFS_STATS is now always enabled (to simplify the code and since the STATS are important for some common customer use cases and also debugging), but needed one minor change so that STATS shows as enabled in the debug output in /proc/fs/cifs/DebugData, otherwise it could get confusing with STATS no longer showing up in the "Features" list in /proc/fs/cifs/DebugData when basic stats were in fact available. Signed-off-by: Steve French <stfrench@microsoft.com> Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
Diffstat (limited to 'fs/cifs/cifs_debug.c')
-rw-r--r--fs/cifs/cifs_debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/cifs_debug.c b/fs/cifs/cifs_debug.c
index e074820bd4ed..748cabd6d20b 100644
--- a/fs/cifs/cifs_debug.c
+++ b/fs/cifs/cifs_debug.c
@@ -170,7 +170,7 @@ static int cifs_debug_data_proc_show(struct seq_file *m, void *v)
#endif
#ifdef CONFIG_CIFS_STATS2
seq_printf(m, ",STATS2");
-#elif defined(CONFIG_CIFS_STATS)
+#else
seq_printf(m, ",STATS");
#endif
#ifdef CONFIG_CIFS_DEBUG2