vnop_hold Entry Point

Purpose

Assures that a virtual node (v-node) is not destroyed.

Syntax

int vnop_hold ( vp)
struct vnode *vp;

Parameter

Item Description
vp Points to the v-node.

Description

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.

Execution Environment

The vnop_hold entry point can be called from the process environment only.

Return Values

The vnop_hold entry point cannot fail and therefore has no return values.