[PATCH 1/2] NFS: Manage NFS modularity vs FS-Cache modularity

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

 



Manage NFS modularity vs FS-Cache modularity such that NFS doesn't have the
option to use the cache if NFS is built in and FS-Cache is a module.

Signed-Off-By: David Howells <[email protected]>
---

 fs/Kconfig |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/fs/Kconfig b/fs/Kconfig
index afec7e1..77cc578 100644
--- a/fs/Kconfig
+++ b/fs/Kconfig
@@ -1507,7 +1507,8 @@ config NFS_V4
 
 config NFS_FSCACHE
 	bool "Provide NFS client caching support (EXPERIMENTAL)"
-	depends on NFS_FS && FSCACHE && EXPERIMENTAL
+	depends on EXPERIMENTAL
+	depends on NFS_FS=m && FSCACHE || NFS_FS=y && FSCACHE=y
 	help
 	  Say Y here if you want NFS data to be cached locally on disc through
 	  the general filesystem cache manager
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux