Function

vnode_ismount

Determine if there is currently a mount occurring which will cover this vnode.

Declaration

int vnode_ismount(vnode_t vp);

Parameters

vp

The vnode to test.

Return Value

Nonzero if there is a mount in progress, 0 otherwise.

Discussion

Note that this is only a snapshot; a mount may begin or end at any time.