Update.
This commit is contained in:
parent
4fdc09f2f9
commit
e6c176c58b
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user