VFS_ROOT
— return
the root vnode of a file system
Return a locked vnode for the root directory of the file
system.
Its arguments are:
- mp
- The file system.
- flags
- The lock type. Could be
LK_EXCLUSIVE
or
LK_SHARED
. File system is free to ignore the
flags argument and instead acquire an exclusive
lock.
- vpp
- Return parameter for the root vnode.
This manual page was written by Doug
Rabson.