NFSD: Remove CONFIG_NFSD_V3
authorChuck Lever <chuck.lever@oracle.com>
Sun, 6 Feb 2022 17:25:47 +0000 (12:25 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Wed, 16 Feb 2022 17:39:03 +0000 (12:39 -0500)
commit3deacda09abb983a3c6638f600e47e2ecbafb54d
tree9eddb080ec070a1c4946522c331337c006865beb
parent9d54a165732a698597adce721815219970a92940
NFSD: Remove CONFIG_NFSD_V3

Eventually support for NFSv2 in the Linux NFS server is to be
deprecated and then removed.

However, NFSv2 is the "always supported" version that is available
as soon as CONFIG_NFSD is set.  Before NFSv2 support can be removed,
we need to choose a different "always supported" version.

This patch removes CONFIG_NFSD_V3 so that NFSv3 is always supported,
as NFSv2 is today. When NFSv2 support is removed, NFSv3 will become
the only "always supported" NFS version.

The defconfigs still need to be updated to remove CONFIG_NFSD_V3=y.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/Kconfig
fs/nfsd/Makefile
fs/nfsd/nfsfh.c
fs/nfsd/nfsfh.h
fs/nfsd/nfssvc.c
fs/nfsd/vfs.c
fs/nfsd/vfs.h