Skip to content

Commit d1404e4

Browse files
amschuma-ntapTrond Myklebust
authored andcommitted
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 <[email protected]> Reviewed-by: Jeffrey Layton <[email protected]> Signed-off-by: Trond Myklebust <[email protected]>
1 parent f06d1b1 commit d1404e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fs/nfs/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@ config NFS_FS
3333
config NFS_V2
3434
tristate "NFS client support for NFS version 2"
3535
depends on NFS_FS
36-
default y
36+
default n
3737
help
3838
This option enables support for version 2 of the NFS protocol
3939
(RFC 1094) in the kernel's NFS client.
4040

41-
If unsure, say Y.
41+
If unsure, say N.
4242

4343
config NFS_V3
4444
tristate "NFS client support for NFS version 3"

0 commit comments

Comments
 (0)