Remove NFS v2 support from the client and server
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 1 replyIn review
- v1 RFC3 patches 3 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | nfsd: Remove the ability to enable NFS v2.nfs.conf utils/ utils/ | +2 | 0 replies | |
| 2/3 | nfs.man: Remove references to NFS v2 from the man pagesutils/ utils/ | +4 | 0 replies | |
| 3/3 | mount: Remove NFS v2 support from mount.nfsutils/ utils/ utils/ +1 more | +13 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/3] Remove NFS v2 support from the client and server
These patches will remove the all references and support of NFS v2 in both the server and client.
On server side the support has been off, by default, since 2013 (6b4e4965a6b). With this server patch the ability to enable v2 will be remove.
Currently even with CONFIG_NFS_V2 not set
v2 mounts are still tied (over-the-wire). I looked at creating a kernel parameter module so support could re-enabled but that got ugly quick.
On the client, the -o v2 option is still a valid option because unknown mount options are passed to the kernel which will cause an actual mount to happen.
But the option has been removed from the man pages will cause the mount to fail with
"NFS version is not supported"
I guess the only question left is does there need some type compilation flag or config flag that would re-enable the support. I'm thinking not.
Steve Dickson (3):
nfsd: Remove the ability to enable NFS v2. nfs.man: Remove references to NFS v2 from the man pages
mount: Remove NFS v2 support from mount.nfs
nfs.conf | 1 - utils/mount/configfile.c | 2 +- utils/mount/mount.nfs.man | 2 +- utils/mount/network.c | 4 ++-- utils/mount/nfs.man | 20 +++----------------- utils/mount/nfsmount.conf | 2 +- utils/mount/stropts.c | 10 +++++++++- utils/nfsd/nfsd.c | 2 -- utils/nfsd/nfsd.man | 4 ++-- 9 files changed, 19 insertions(+), 28 deletions(-)
Signature · 1 line
2.31.1