From 2e168c9b377be10276bcd234bf016a097a4f0618 Mon Sep 17 00:00:00 2001 From: Alfred Perlstein Date: Mon, 12 Jul 2004 09:06:51 +0000 Subject: [PATCH] Document thread parameter passed to VFS_ROOT and vflush. --- share/man/man9/VFS_ROOT.9 | 4 +++- share/man/man9/vflush.9 | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/share/man/man9/VFS_ROOT.9 b/share/man/man9/VFS_ROOT.9 index 345d5fb803d..32b4f2f6214 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 8b4c152fe36..1123ea3a698 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,