Skip to contentSkip to conversation

fscache: kconfig tidying

PATCH New Christoph Hellwig 1 participant 1 message Sep 28, 2006 VFS

lore
Share & tools
lore
#0 lore raw

PATCH 2/2 fscache: kconfig tidying

Use select for CONFIG_FSCACHE to fix the dependency mess

fs/Kconfig +4 -5
Index: linux-2.6/fs/Kconfig
===================================================================
@@ -533,8 +533,7 @@
 menu "Caches"
 
 config FSCACHE
-	tristate "General filesystem cache manager"
-	depends on EXPERIMENTAL
+	tristate
 	help
 	  This option enables a generic filesystem caching manager that can be
 	  used by various network and other filesystems to cache data
@@ -545,7 +544,7 @@
 
 config CACHEFILES
 	tristate "Filesystem caching on files"
-	depends on FSCACHE
+	select FSCACHE
 	help
 	  This permits use of a mounted filesystem as a cache for other
 	  filesystems - primarily networking filesystems - thus allowing fast
@@ -1527,7 +1526,7 @@
 config NFS_FSCACHE
 	bool "Provide NFS client caching support (EXPERIMENTAL)"
 	depends on EXPERIMENTAL
-	depends on NFS_FS=m && FSCACHE || NFS_FS=y && FSCACHE=y
+	select FSCACHE
 	help
 	  Say Y here if you want NFS data to be cached locally on disc through
 	  the general filesystem cache manager
@@ -1971,7 +1970,7 @@
 config AFS_FSCACHE
 	bool "Provide AFS client caching support (EXPERIMENTAL)"
 	depends on EXPERIMENTAL
-	depends on AFS_FS=m && FSCACHE || AFS_FS=y && FSCACHE=y
+	select FSCACHE
 	help
 	  Say Y here if you want AFS data to be cached locally on disk through
 	  the generic filesystem cache manager