Bug 178713 - [nfs] [patch] Correct WebNFS support in NFS server and client from sys/fs
Summary: [nfs] [patch] Correct WebNFS support in NFS server and client from sys/fs
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-fs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-17 12:20 UTC by Andrey Simonenko
Modified: 2013-09-23 14:15 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Simonenko 2013-05-17 12:20:02 UTC
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.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2013-05-17 22:56:04 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-fs

Over to maintainer(s).
Comment 2 Gavin Atkinson freebsd_committer freebsd_triage 2013-09-23 14:12:49 UTC
State Changed
From-To: open->closed

Submitter requested that this PR be closed.