aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPawel Jakub Dawidek <pjd@FreeBSD.org>2006-08-26 11:32:40 +0000
committerPawel Jakub Dawidek <pjd@FreeBSD.org>2006-08-26 11:32:40 +0000
commit44689dc087d7c53023513f8e158178c3f53fcff6 (patch)
treec6760d425525a00d91a43c08ef7c499287b2f0c9
parentbec31a8fee63b744bd2fd989128aacb857a579f2 (diff)
Update.
Notes
Notes: svn path=/head/; revision=161640
-rw-r--r--share/man/man9/VFS_ROOT.914
1 files changed, 11 insertions, 3 deletions
diff --git a/share/man/man9/VFS_ROOT.9 b/share/man/man9/VFS_ROOT.9
index 32b4f2f62147..7af1fe6d9394 100644
--- a/share/man/man9/VFS_ROOT.9
+++ b/share/man/man9/VFS_ROOT.9
@@ -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