From: Anna Schumaker Date: Thu, 25 Apr 2024 20:34:40 +0000 (-0400) Subject: NFS: Don't enable NFS v2 by default X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=d1404e46ae4688c74e7504195f4fe253bcce1522;p=linux.git 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 Reviewed-by: Jeffrey Layton Signed-off-by: Trond Myklebust --- diff --git a/fs/nfs/Kconfig b/fs/nfs/Kconfig index f7e32d76e34d7..57249f040dfcf 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"