NAME
VFS_FHTOVP — turn an NFS filehandle into a vnodeSYNOPSIS
#include <sys/param.h>#include <sys/mount.h>
#include <sys/vnode.h> int
VFS_FHTOVP(struct mount *mp, struct fid *fhp, int flags, struct vnode **vpp);
DESCRIPTION
The VFS_FHTOVP() macro is used by the NFS server to turn an NFS filehandle into a vnode. The arguments it expects are:- mp
- The file system.
- fhp
- The filehandle to convert.
- flags
- Additional locking flags to pass through to
vget(9). File systems are allowed to ignore
flags and use
LK_EXCLUSIVE
instead. - vpp
- Return parameter for the new locked vnode.
RETURN VALUES
The locked vnode for the file will be returned in *vpp.SEE ALSO
VFS(9), VFS_CHECKEXP(9), vnode(9), VOP_VPTOFH(9)AUTHORS
This manual page was written by Doug Rabson.May 19, 2019 | Debian |