Document thread parameter passed to VFS_ROOT and vflush.

This commit is contained in:
Alfred Perlstein 2004-07-12 09:06:51 +00:00
parent 993f3fc432
commit 2e168c9b37
2 changed files with 6 additions and 2 deletions

View File

@ -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 ,

View File

@ -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,