nfs: Fix nfs_parse_mount_options() kfree() leak
[safe/jmp/linux-2.6] / fs / nfs / Kconfig
index 36fe20d..2a77bc2 100644 (file)
@@ -1,6 +1,6 @@
 config NFS_FS
        tristate "NFS client support"
-       depends on INET
+       depends on INET && FILE_LOCKING
        select LOCKD
        select SUNRPC
        select NFS_ACL_SUPPORT if NFS_V3_ACL
@@ -74,6 +74,15 @@ config NFS_V4
 
          If unsure, say N.
 
+config NFS_V4_1
+       bool "NFS client support for NFSv4.1 (DEVELOPER ONLY)"
+       depends on NFS_V4 && EXPERIMENTAL
+       help
+         This option enables support for minor version 1 of the NFSv4 protocol
+         (draft-ietf-nfsv4-minorversion1) in the kernel's NFS client.
+
+         Unless you're an NFS developer, say N.
+
 config ROOT_NFS
        bool "Root file system on NFS"
        depends on NFS_FS=y && IP_PNP
@@ -84,3 +93,11 @@ config ROOT_NFS
          <file:Documentation/filesystems/nfsroot.txt>.
 
          Most people say N here.
+
+config NFS_FSCACHE
+       bool "Provide NFS client caching support (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