Holds or releases a vfs structure.
Item | Description |
---|---|
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.
The vfs_hold kernel service has no return value.
The vfs_unhold kernel service returns the original value of the hold count.