VFS_VGET -- convert an inode number to a vnode
#include <sys/param.h>
#include <sys/mount.h>
#include <sys/vnode.h>
int
VFS_VGET(struct mount *mp, ino_t ino, int flags, struct vnode **vpp);
This converts an inode number into a locked vnode.
Its arguments are:
mp The file system.
ino The inode representing the file.
flags Additional locking flags to pass through.
vpp Return parameter for the vnode.
This is an optional file system entry-point for file systems which have a
unique id number for every file in the file system. It is used internally
by the UFS file system and also by the NFSv3 server to implement
the READDIRPLUS nfs call.
If the file system does not support this call, then it should return
EOPNOTSUPP.
VFS(9), vget(9), vnode(9)
This manual page was written by Doug Rabson.
FreeBSD 5.2.1 July 24, 1996 FreeBSD 5.2.1 [ Back ] |