From: Christoph Hellwig Subject: [PATCH 2/2] fscache: kconfig tidying Date: Thu, 28 Sep 2006 17:45:55 +0100 Message-ID: <20060928164555.GE3497@infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-fsdevel@vger.kernel.org Return-path: Received: from pentafluge.infradead.org ([213.146.154.40]:38572 "EHLO pentafluge.infradead.org") by vger.kernel.org with ESMTP id S1751926AbWI1QqS (ORCPT ); Thu, 28 Sep 2006 12:46:18 -0400 To: dhowells@redhat.com, akpm@osdl.org, gregkh@suse.de Content-Disposition: inline Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org Use select for CONFIG_FSCACHE to fix the dependency mess Signed-off-by: Christoph Hellwig 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