This commit is contained in:
Pawel Jakub Dawidek 2006-08-26 11:32:40 +00:00
parent bec31a8fee
commit 44689dc087
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=161640

View File

@ -28,7 +28,7 @@
.\"
.\" $FreeBSD$
.\"
.Dd July 24, 1996
.Dd August 26, 2006
.Os
.Dt VFS_ROOT 9
.Sh NAME
@ -39,14 +39,22 @@
.In sys/mount.h
.In sys/vnode.h
.Ft int
.Fn VFS_ROOT "struct mount *mp" "struct vnode **vpp" "struct thread *td"
.Fn VFS_ROOT "struct mount *mp" "int flags" "struct vnode **vpp" "struct thread *td"
.Sh DESCRIPTION
Return a locked vnode for the root directory of the file system.
.Pp
Its arguments are:
.Bl -tag -width vpp
.Bl -tag -width flags
.It Fa mp
The file system.
.It Fa flags
The lock type. Could be
.Dv LK_EXCLUSIVE
or
.Dv LK_SHARED .
File system is free to ignore the
.Fa flags
argument and instead acquire an exclusive lock.
.It Fa vpp
Return parameter for the root vnode.
.It Fa td