diff options
author | sheldonh <sheldonh@FreeBSD.org> | 2001-10-06 11:19:41 +0000 |
---|---|---|
committer | sheldonh <sheldonh@FreeBSD.org> | 2001-10-06 11:19:41 +0000 |
commit | 257d2f075630a276cad982cce2b74341143c54c6 (patch) | |
tree | f2914b1cbfe792914119b58f548446e38ff65642 /share/man/man9/vinvalbuf.9 | |
parent | 910868a68fad084aa307651c4ce629496e4cbc77 (diff) | |
download | FreeBSD-src-257d2f075630a276cad982cce2b74341143c54c6.zip FreeBSD-src-257d2f075630a276cad982cce2b74341143c54c6.tar.gz |
Updates for changes made by KSE import.
Submitted by: Chad David <davidc@acns.ab.ca>
Diffstat (limited to 'share/man/man9/vinvalbuf.9')
-rw-r--r-- | share/man/man9/vinvalbuf.9 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/share/man/man9/vinvalbuf.9 b/share/man/man9/vinvalbuf.9 index 76abe11..dd5a60f 100644 --- a/share/man/man9/vinvalbuf.9 +++ b/share/man/man9/vinvalbuf.9 @@ -36,7 +36,7 @@ .In sys/param.h .In sys/vnode.h .Ft int -.Fn vinvalbuf "struct vnode *vp" "int flags" "struct ucred *cred" "struct proc *p" "int slpflag" "int slptimeo" +.Fn vinvalbuf "struct vnode *vp" "int flags" "struct ucred *cred" "struct thread *td" "int slpflag" "int slptimeo" .Sh DESCRIPTION The .Fn vinvalbuf @@ -62,8 +62,8 @@ The user credentials that are used to buffers if .Dv V_SAVE is set. -.It Fa p -The process responsible for this call. +.It Fa td +The thread responsible for this call. .It Fa slpflag The slp flag that will be used in the priority of any sleeps in the function. .It Fa slptimeo @@ -78,9 +78,9 @@ must be held by prior to the call and remains locked upon return. A 0 value is returned on success. .Sh PSEUDOCODE .Bd -literal -offset indent -vn_lock(devvp, LK_EXCLUSIVE | LK_RETRY, p); -error = vinvalbuf(devvp, V_SAVE, cred, p, 0, 0); -VOP_UNLOCK(devvp, 0, p); +vn_lock(devvp, LK_EXCLUSIVE | LK_RETRY, td); +error = vinvalbuf(devvp, V_SAVE, cred, td, 0, 0); +VOP_UNLOCK(devvp, 0, td); if (error) return (error); .Ed |