summaryrefslogtreecommitdiffstats
path: root/fs/nfs/Kconfig
diff options
context:
space:
mode:
authorBryan Schumaker <bjschuma@netapp.com>2012-05-10 16:47:19 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-05-14 17:42:22 -0700
commit2ba68002a74fb167b68844077d36e5ccfc87f323 (patch)
tree9a84b5849145275bda0ba74aa24b4354299bdf0e /fs/nfs/Kconfig
parent5e7e5a0da28216fb9d0a49e93ee27668ef4f04f7 (diff)
downloadlinux-stable-2ba68002a74fb167b68844077d36e5ccfc87f323.tar.gz
linux-stable-2ba68002a74fb167b68844077d36e5ccfc87f323.tar.bz2
linux-stable-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