NFS: Don't enable NFS v2 by default

JIRA: https://issues.redhat.com/browse/RHEL-59704

commit d1404e46ae4688c74e7504195f4fe253bcce1522
Author: Anna Schumaker <Anna.Schumaker@Netapp.com>
Date:   Thu Apr 25 16:34:40 2024 -0400

    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>

Signed-off-by: Scott Mayhew <smayhew@redhat.com>
This commit is contained in:
Scott Mayhew 2024-09-23 16:32:54 -04:00
parent f538eb902c
commit e293a082f8
1 changed files with 2 additions and 2 deletions

View 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"