VOP_VPTOFH9
Turn a vnode into an nfs filehandle
Usage
#include <sys/param.h>
#include <sys/vnode.h>
int
VOP_VPTOFH(struct vnode *vp, struct fid *fhp);
Overview
This is used by the NFS server to create an opaque filehandle which uniquely identifies the file and which can be used by an NFS client to access the file in the future.
Its arguments are:
- vp
-
The vnode to make a filehandle for.
- fhp
-
Return parameter for the filehandle.
Releases
44 releases since FreeBSD 7.0-RELEASE; the text changed 30 times.