aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorAlfred Perlstein <alfred@FreeBSD.org>2004-07-12 09:06:51 +0000
committerAlfred Perlstein <alfred@FreeBSD.org>2004-07-12 09:06:51 +0000
commit2e168c9b377be10276bcd234bf016a097a4f0618 (patch)
treed4eb3d3915911edbdf5e67c6de782320f26c3e4e /share
parent993f3fc432df17e56dfbc5ddf1040ddb290d77ea (diff)
downloadsrc-2e168c9b377be10276bcd234bf016a097a4f0618.tar.gz
src-2e168c9b377be10276bcd234bf016a097a4f0618.zip
Document thread parameter passed to VFS_ROOT and vflush.
Notes
Notes: svn path=/head/; revision=132026
Diffstat (limited to 'share')
-rw-r--r--share/man/man9/VFS_ROOT.94
-rw-r--r--share/man/man9/vflush.94
2 files changed, 6 insertions, 2 deletions
diff --git a/share/man/man9/VFS_ROOT.9 b/share/man/man9/VFS_ROOT.9
index 345d5fb803dd..32b4f2f62147 100644
--- a/share/man/man9/VFS_ROOT.9
+++ b/share/man/man9/VFS_ROOT.9
@@ -39,7 +39,7 @@
.In sys/mount.h
.In sys/vnode.h
.Ft int
-.Fn VFS_ROOT "struct mount *mp" "struct vnode **vpp"
+.Fn VFS_ROOT "struct mount *mp" "struct vnode **vpp" "struct thread *td"
.Sh DESCRIPTION
Return a locked vnode for the root directory of the file system.
.Pp
@@ -49,6 +49,8 @@ Its arguments are:
The file system.
.It Fa vpp
Return parameter for the root vnode.
+.It Fa td
+The calling thread.
.El
.Sh SEE ALSO
.Xr VFS 9 ,
diff --git a/share/man/man9/vflush.9 b/share/man/man9/vflush.9
index 8b4c152fe36a..1123ea3a6984 100644
--- a/share/man/man9/vflush.9
+++ b/share/man/man9/vflush.9
@@ -36,7 +36,7 @@
.In sys/param.h
.In sys/vnode.h
.Ft int
-.Fn vflush "struct mount *mp" "int rootrefs" "int flags"
+.Fn vflush "struct mount *mp" "int rootrefs" "int flags" "struct thread *td"
.Sh DESCRIPTION
The
.Fn vflush
@@ -66,6 +66,8 @@ flag set will be skipped.
.It Dv WRITECLOSE
If set, only regular files currently opened for writing will be removed.
.El
+.It Fa td
+thread performing the vflush.
.El
.Sh RETURN VALUES
A value of 0 is returned if the flush is successful; otherwise,