PSEUDOCODE
int
vop_inactive(struct vnode *vp, struct thread *td)
{
if (link count of vp == 0) {
/*
* Reclaim space in file system for vp.
*/
...;
}
VOP_UNLOCK(vp, 0, td);
return 0;
}
int
vop_reclaim(struct vnode *vp, struct thread *td)
{
/*
* Clean out the name cache.
*/
cache_purge(vp);
/*
* Free file system related data.
*/
...;
return 0;
}
SEE ALSO
vnode(9)
AUTHORS