linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 2/2] fscache: kconfig tidying
@ 2006-09-28 16:45 Christoph Hellwig
  0 siblings, 0 replies; only message in thread
From: Christoph Hellwig @ 2006-09-28 16:45 UTC (permalink / raw)
  To: dhowells, akpm, gregkh; +Cc: linux-fsdevel

Use select for CONFIG_FSCACHE to fix the dependency mess


Signed-off-by: Christoph Hellwig <hch@lst.de>

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-09-28 16:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-28 16:45 [PATCH 2/2] fscache: kconfig tidying Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).