VOP_VPTOFH — turn a vnode into an NFS filehandle
Contents
Description
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.
Name
VOP_VPTOFH — turn a vnode into an NFS filehandle
See Also
VFS(9), VFS_FHTOVP(9), vnode(9)
Synopsis
#include<sys/param.h>#include<sys/vnode.h>intVOP_VPTOFH(structvnode*vp, structfid*fhp);
