summaryrefslogtreecommitdiffstats
path: root/fs/nfs/Kconfig
diff options
context:
space:
mode:
authorBryan Schumaker <bjschuma@netapp.com>2012-05-10 22:47:19 +0200
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-05-15 02:42:22 +0200
commit2ba68002a74fb167b68844077d36e5ccfc87f323 (patch)
tree9a84b5849145275bda0ba74aa24b4354299bdf0e /fs/nfs/Kconfig
parentNFS: Create an NFS v3 stat_to_errno() (diff)
downloadlinux-2ba68002a74fb167b68844077d36e5ccfc87f323.tar.xz
linux-2ba68002a74fb167b68844077d36e5ccfc87f323.zip
NFS: Make v2 configurable
With this patch NFS v2 can be disabled during Kconfig. I default the option to "y" to match the current behavior. Signed-off-by: Bryan Schumaker <bjschuma@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/Kconfig')
-rw-r--r--fs/nfs/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/fs/nfs/Kconfig b/fs/nfs/Kconfig
index 2a0e6c599147..66b0f4cb520f 100644
--- a/fs/nfs/Kconfig
+++ b/fs/nfs/Kconfig
@@ -29,6 +29,16 @@ config NFS_FS
If unsure, say N.
+config NFS_V2
+ bool "NFS client support for NFS version 2"
+ depends on NFS_FS
+ default y
+ help
+ This option enables support for version 2 of the NFS protocol
+ (RFC 1094) in the kernel's NFS client.
+
+ If unsure, say Y.
+
config NFS_V3
bool "NFS client support for NFS version 3"
depends on NFS_FS