[SMB3] Fix minor debug output for CONFIG_CIFS_STATS
diff mbox series

Message ID CAH2r5mupAcew7D1e8KRr8y_tB6Darq7s5A36P6jQvm3c=eZd1Q@mail.gmail.com
State New
Headers show
  • [SMB3] Fix minor debug output for CONFIG_CIFS_STATS
Related show

Commit Message

Steve French Aug. 2, 2018, 5 a.m. UTC


ronnie sahlberg Aug. 2, 2018, 5:06 a.m. UTC | #1
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>

On Thu, Aug 2, 2018 at 3:00 PM, Steve French <smfrench@gmail.com> wrote:
> --
> Thanks,
> Steve
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

diff mbox series

From 7398f2927072372873b6201ef8857c6adb1049e0 Mon Sep 17 00:00:00 2001
From: Steve French <stfrench@microsoft.com>
Date: Wed, 1 Aug 2018 22:34:04 -0500
Subject: [PATCH] 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

Signed-off-by: Steve French <stfrench@microsoft.com>
 fs/cifs/cifs_debug.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)
 	seq_printf(m, ",STATS2");
-#elif defined(CONFIG_CIFS_STATS)
 	seq_printf(m, ",STATS");