Searched hist:"2 f3a4b2ac2f28b9be78ad21f401f31e263845214" (Results 1 – 1 of 1) sorted by relevance
/linux/fs/nfsd/ |
H A D | nfsctl.c | diff 2f3a4b2ac2f28b9be78ad21f401f31e263845214 Tue Oct 18 13:47:56 CEST 2022 Jeff Layton <jlayton@kernel.org> nfsd: allow disabling NFSv2 at compile time
rpc.nfsd stopped supporting NFSv2 a year ago. Take the next logical step toward deprecating it and allow NFSv2 support to be compiled out.
Add a new CONFIG_NFSD_V2 option that can be turned off and rework the CONFIG_NFSD_V?_ACL option dependencies. Add a description that discourages enabling it.
Also, change the description of CONFIG_NFSD to state that the always-on version is now 3 instead of 2.
Finally, add an #ifdef around "case 2:" in __write_versions. When NFSv2 is disabled at compile time, this should make the kernel ignore attempts to disable it at runtime, but still error out when trying to enable it.
Signed-off-by: Jeff Layton <jlayton@kernel.org> Reviewed-by: Tom Talpey <tom@talpey.com> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
|