vrele - decrement the use count for a vnode
#include <sys/param.h>
#include <sys/vnode.h>
void
vrele(struct vnode *vp);
Decrement the v_usecount field of the vnode specified by vp.
Any code in the system which uses a vnode should call
vrele() when it is
finished with the vnode. If the v_usecount field of the vnode reaches
zero, the vnode will be placed on the free list.
vget(9), vnode(9), vput(9), vref(9)
This man page was originally written by Doug Rabson for
FreeBSD.
OpenBSD 3.6 July 24, 1996
[ Back ] |