summaryrefslogtreecommitdiffstats
path: root/fs/cifs/Kconfig
diff options
context:
space:
mode:
authorSteve French <stfrench@microsoft.com>2018-07-31 02:21:37 -0400
committerSteve French <stfrench@microsoft.com>2018-08-07 15:20:22 -0400
commitfcabb89299d79010eb923afdd26de04afcc0527f (patch)
tree1421d066bffdd441311bff89551640a5a1f0c91e /fs/cifs/Kconfig
parent9da6ec7775d2cd76df53fbf4f1f35f6d490204f5 (diff)
cifs: simple stats should always be enabled
CONFIG_CIFS_STATS should always be enabled as Pavel recently noted. Simple statistics are not a significant performance hit, and removing the ifdef simplifies the code slightly. Signed-off-by: Steve French <stfrench@microsoft.com> Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com> Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
Diffstat (limited to 'fs/cifs/Kconfig')
-rw-r--r--fs/cifs/Kconfig9
1 files changed, 1 insertions, 8 deletions
diff --git a/fs/cifs/Kconfig b/fs/cifs/Kconfig
index 63d0d852998a..35c83fe7dba0 100644
--- a/fs/cifs/Kconfig
+++ b/fs/cifs/Kconfig
@@ -49,16 +49,9 @@ config CIFS
49 49
50 If you need to mount to Samba, Azure, Macs or Windows from this machine, say Y. 50 If you need to mount to Samba, Azure, Macs or Windows from this machine, say Y.
51 51
52config CIFS_STATS
53 bool "CIFS statistics"
54 depends on CIFS
55 help
56 Enabling this option will cause statistics for each server share
57 mounted by the cifs client to be displayed in /proc/fs/cifs/Stats
58
59config CIFS_STATS2 52config CIFS_STATS2
60 bool "Extended statistics" 53 bool "Extended statistics"
61 depends on CIFS_STATS 54 depends on CIFS
62 help 55 help
63 Enabling this option will allow more detailed statistics on SMB 56 Enabling this option will allow more detailed statistics on SMB
64 request timing to be displayed in /proc/fs/cifs/DebugData and also 57 request timing to be displayed in /proc/fs/cifs/DebugData and also