Contents

vnode_rele

Decrement the usecount on a vnode.

Declaration

void vnode_rele(vnode_t vp);

Parameters

  • vp:

    The vnode whose usecount to drop.

Return Value

void.

Discussion

vnode_rele() is called to relese a persistent reference on a vnode. Releasing the last usecount opens the door for a vnode to be reused as a new file; it also triggers a VNOP_INACTIVE call to the filesystem, though that will not happen immediately if there are outstanding iocount references.

See Also

vnode