[PATCH 2/2] fscache: kconfig tidying

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Use select for CONFIG_FSCACHE to fix the dependency mess


Signed-off-by: Christoph Hellwig <hch@xxxxxx>

Index: linux-2.6/fs/Kconfig
===================================================================
--- linux-2.6.orig/fs/Kconfig	2006-09-28 16:32:12.000000000 +0200
+++ linux-2.6/fs/Kconfig	2006-09-28 16:57:37.000000000 +0200
@@ -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
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux