logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

VFS_ROOT — return the root vnode of a file system

Authors

       This manual page was written by Doug Rabson.

Debian                                            May 23, 2009                                       VFS_ROOT(9)

Description

       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.

Name

       VFS_ROOT — return the root vnode of a file system

See Also

VFS(9), vnode(9)

Synopsis

#include<sys/param.h>#include<sys/mount.h>#include<sys/vnode.h>intVFS_ROOT(structmount*mp, intflags, structvnode**vpp);

See Also