OSDN Git Service

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>
Fri, 11 Mar 2022 15:25:14 +0000 (10:25 -0500)
commit5f9a62ff7d2808c7b56c0ec90f3b7eae5872afe6
tree8f289d85041a2ee3aea677afaf6caa919e24d45d
parent4d2eeafecd6c83b4444db3dc0ada201c89b1aa44
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/Kconfig
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