Skip to content

Commit d258650

Browse files
author
Steve French
committed
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 <[email protected]> Reviewed-by: Ronnie Sahlberg <[email protected]>
1 parent 020eec5 commit d258650

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/cifs/cifs_debug.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ static int cifs_debug_data_proc_show(struct seq_file *m, void *v)
170170
#endif
171171
#ifdef CONFIG_CIFS_STATS2
172172
seq_printf(m, ",STATS2");
173-
#elif defined(CONFIG_CIFS_STATS)
173+
#else
174174
seq_printf(m, ",STATS");
175175
#endif
176176
#ifdef CONFIG_CIFS_DEBUG2

0 commit comments

Comments
 (0)