Function

cache_purge

Remove all data relating to a vnode from the namecache.

Declaration

void cache_purge(vnode_t vp);

Parameters

vp

The vnode to purge.

Return Value

void.

Discussion

Will flush all hardlinks to the vnode as well as all children (should any exist). Logical to use when cached data about a vnode becomes invalid, for instance in an unlink.