[PATCH] CONFIG_CIFS_DEBUG2 needs CONFIG_CIFS

Horms horms at verge.net.au
Mon Jul 3 11:58:10 GMT 2006


Unless I am very much mistaken CONFIG_CIFS_DEBUG2 only exists in files that are
compiled when CONFIG_CIFS is in effect. By depending on CIFS,
CIFS_DEBUG2 won't show up in config files that are otherwise CIFS-free.

Signed-Off-By: Horms <horms at verge.net.au>

diff --git a/fs/Kconfig b/fs/Kconfig
index 53f5c6d..3f00a9f 100644
--- a/fs/Kconfig
+++ b/fs/Kconfig
@@ -1801,6 +1801,7 @@ config CIFS_POSIX
 
 config CIFS_DEBUG2
 	bool "Enable additional CIFS debugging routines"
+	depends on CIFS
 	help
 	   Enabling this option adds a few more debugging routines
 	   to the cifs code which slightly increases the size of


More information about the samba-technical mailing list