Assures that a virtual node (v-node) is not destroyed.
int vnop_hold ( vp)
struct vnode *vp;
Item | Description |
---|---|
vp | Points to the v-node. |
The vnop_hold entry point increments the v_count field, the hold count on the v-node, and the v-node's underlying g-node (generic node). This incrementation assures that the v-node is not deallocated.
The vnop_hold entry point can be called from the process environment only.
The vnop_hold entry point cannot fail and therefore has no return values.