summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna Schumaker <Anna.Schumaker@Netapp.com>2024-04-25 23:34:40 +0300
committerTrond Myklebust <trond.myklebust@hammerspace.com>2024-05-20 18:37:15 +0300
commitd1404e46ae4688c74e7504195f4fe253bcce1522 (patch)
tree8918bc678e043d7a36ce321671698165a1bb5e84
parentf06d1b10cb016d5aaecdb1804fefca025387bd10 (diff)
downloadlinux-d1404e46ae4688c74e7504195f4fe253bcce1522.tar.xz
NFS: Don't enable NFS v2 by default
This came up during one of the Bake-a-thon discussions. NFS v2 support was dropped from nfs-utils/mount.nfs in December 2021. Let's turn it off by default in the kernel too, since this means there isn't a way to mount and test it. Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com> Reviewed-by: Jeffrey Layton <jlayton@kernel.org> Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
-rw-r--r--fs/nfs/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/Kconfig b/fs/nfs/Kconfig
index f7e32d76e34d..57249f040dfc 100644
--- a/fs/nfs/Kconfig
+++ b/fs/nfs/Kconfig
@@ -33,12 +33,12 @@ config NFS_FS
config NFS_V2
tristate "NFS client support for NFS version 2"
depends on NFS_FS
- default y
+ default n
help
This option enables support for version 2 of the NFS protocol
(RFC 1094) in the kernel's NFS client.
- If unsure, say Y.
+ If unsure, say N.
config NFS_V3
tristate "NFS client support for NFS version 3"