The following change corrects WebNFS support in NFS server and client from the sys/fs/ sources: 1. fs/nfs/nfs_commonsubs.c:nfsm_fhtom(): do not assume size argument with the zero value as default size value. All nfsm_fhtom() calls with size argument with the zero value were modified and now have the NFSX_MYFH value. 2. fs/nfsserver/nfs_nfsdsubs.c:nfsrv_mtofh(): allow public filehandle to be used for all requests, not only for LOOKUPs. 3. fs/nfsclient/nfs_clvfsops.c:mountnfs(): allow filehandle with the zero length for NFSv3. Index files are not supported by NFS server from sys/fs/nfsserver/ and adding such support will require API change. Fix: [ patch elided - gavin ] How-To-Repeat: Add WebNFS support to mount_nfs from bin/178392 and try to mount WebNFS exported file system.
Responsible Changed From-To: freebsd-bugs->freebsd-fs Over to maintainer(s).
State Changed From-To: open->closed Submitter requested that this PR be closed.