From: Christoph Hellwig Use select for CONFIG_FSCACHE to fix the dependency mess Signed-off-by: Christoph Hellwig Cc: David Howells Signed-off-by: Andrew Morton --- fs/Kconfig | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff -puN fs/Kconfig~fscache-kconfig-tidying fs/Kconfig --- a/fs/Kconfig~fscache-kconfig-tidying +++ a/fs/Kconfig @@ -641,8 +641,7 @@ config GENERIC_ACL 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 @@ -653,7 +652,7 @@ config FSCACHE 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 @@ -1671,7 +1670,7 @@ config NFS_V4 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 @@ -2116,7 +2115,7 @@ config AFS_FS config AFS_FSCACHE bool "Provide AFS client caching support" 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 through the generic filesystem cache manager _