vrele(9)

vrele9

Decrement the use count for a vnode

Usage

#include <sys/param.h>

#include <sys/vnode.h>

void

vrele(struct vnode *vp);

Overview

Decrement the v_usecount field of a vnode.

vp

the vnode to decrement

Any code in the system which is using a vnode should call vrele() when it is finished with the vnode. If the v_usecount field of the vnode reaches zero, then it will be placed on the free list.

Authors

This manual page was written by Doug Rabson.

From freebsd-manpages 6.0-5 in Debian 4.0 (Etch). Parsed by carta from the page's mdoc source.