NFS: Don't enable NFS v2 by default
authorAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 25 Apr 2024 20:34:40 +0000 (16:34 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 20 May 2024 15:37:15 +0000 (11:37 -0400)
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>
fs/nfs/Kconfig

index f7e32d76e34d74b76aba8f6d31bcdb95a310f2f1..57249f040dfcf3d98495128e2b6535dcd9fdc0cf 100644 (file)
@@ -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"