]> git.baikalelectronics.ru Git - kernel.git/commit
smb3: fix minor debug output for CONFIG_CIFS_STATS
authorSteve French <stfrench@microsoft.com>
Thu, 2 Aug 2018 03:34:04 +0000 (22:34 -0500)
committerSteve French <stfrench@microsoft.com>
Tue, 7 Aug 2018 19:30:59 +0000 (14:30 -0500)
commit2d32d0fc6e2829db6e2d98075b7542c24a0b6ef2
treed159855ab17a88eb2d2bef24193fceb6edda3d7b
parentbf5cc37c7f3c6428dd411a8c7cee97411bce6987
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>
fs/cifs/cifs_debug.c