Holds or releases a vfs structure.
#include <sys/vfs.h>
void vfs_hold(vfsp) struct vfs *vfsp;
void vfs_unhold( vfsp)
struct vfs *vfsp;
vfsp | Points to a vfs structure. |
The vfs_hold kernel service holds a vfs structure and the vfs_unhold kernel service releases it. These routines manage a use count for a virtual file system (VFS). A use count greater than 1 prevents the virtual file system from being unmounted.
These kernel services can be called from the process environment only.
None
List of Virtual File System Operations.