summaryrefslogtreecommitdiffstats
path: root/share/man/man9
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2004-07-12 09:06:51 +0000
committeralfred <alfred@FreeBSD.org>2004-07-12 09:06:51 +0000
commit2690c990ddddb93067e40423ff1471015482fb8e (patch)
treed4eb3d3915911edbdf5e67c6de782320f26c3e4e /share/man/man9
parent7c3687d1460558124e6d29f91cef0afaab43fcc7 (diff)
downloadFreeBSD-src-2690c990ddddb93067e40423ff1471015482fb8e.zip
FreeBSD-src-2690c990ddddb93067e40423ff1471015482fb8e.tar.gz
Document thread parameter passed to VFS_ROOT and vflush.
Diffstat (limited to 'share/man/man9')
-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 345d5fb..32b4f2f 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 8b4c152..1123ea3 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,
OpenPOWER on IntegriCloud