Subject: Re: Making file handles useful outside of NFS
To: Bill Studenmund <wrstuden@nas.nasa.gov>
From: Frank van der Linden <frank@wins.uva.nl>
List: tech-kern
Date: 02/26/1999 14:35:44
On Thu, Feb 25, 1999 at 04:39:58PM -0800, Bill Studenmund wrote:
> So I propose we split the current vfs_fhtovp VFS call into two calls, one
> to do the export verification, and another to do the filehandle to vnode
> conversion. Any code which calls the current vfs_fhtovp (currently only in
> nfs_subs.c:nfsrv_fhtovp() ) just become a call to VFS_CHKEXP then
> VFS_FHTOVP (assuming no errors).

Looks okay to me. While you're at it, maybe you can split off exporting
filesystems from the mount() system call, i.e. introduce an exportfs()
system call (as SunOS had) :-) Overloading the mount call with this is
kind of ugly.

- Frank