diff options
author | attilio <attilio@FreeBSD.org> | 2008-10-20 20:00:34 +0000 |
---|---|---|
committer | attilio <attilio@FreeBSD.org> | 2008-10-20 20:00:34 +0000 |
commit | 2efd12327df3f4069b0213d17386ff2b3a4b850c (patch) | |
tree | 2527a02ecdc3eba66a4be397517dc15005151465 /share | |
parent | 065ec231da3658d8842c6501585613e315efc974 (diff) | |
download | FreeBSD-src-2efd12327df3f4069b0213d17386ff2b3a4b850c.zip FreeBSD-src-2efd12327df3f4069b0213d17386ff2b3a4b850c.tar.gz |
Reflect changes into vinvalbuf(9) prototype.
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man9/vinvalbuf.9 | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/share/man/man9/vinvalbuf.9 b/share/man/man9/vinvalbuf.9 index 9ed361b..5180153 100644 --- a/share/man/man9/vinvalbuf.9 +++ b/share/man/man9/vinvalbuf.9 @@ -26,7 +26,7 @@ .\" .\" $FreeBSD$ .\" -.Dd July 7, 2001 +.Dd October 20, 2008 .Dt VINVALBUF 9 .Os .Sh NAME @@ -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 thread *td" "int slpflag" "int slptimeo" +.Fn vinvalbuf "struct vnode *vp" "int flags" "struct ucred *cred" "int slpflag" "int slptimeo" .Sh DESCRIPTION The .Fn vinvalbuf @@ -62,8 +62,6 @@ The user credentials that are used to buffers if .Dv V_SAVE is set. -.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 +76,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, td); -error = vinvalbuf(devvp, V_SAVE, cred, td, 0, 0); -VOP_UNLOCK(devvp, 0, td); +vn_lock(devvp, LK_EXCLUSIVE | LK_RETRY); +error = vinvalbuf(devvp, V_SAVE, cred, 0, 0); +VOP_UNLOCK(devvp, 0); if (error) return (error); .Ed |