Function

vnode_settag

Set a vnode filesystem-specific "tag."

Declaration

void vnode_settag(vnode_t vp, int tag);

Parameters

vp

The vnode whose tag to set.

Return Value

void.

Discussion

Sets a tag indicating which filesystem a vnode belongs to, e.g. VT_HFS, VT_UDF, VT_ZFS. The kernel never inspects this data, though the filesystem tags are defined in vnode.h; it is for the benefit of user programs via getattrlist.