Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Oct 2008 20:00:34 +0000 (UTC)
From:      Attilio Rao <attilio@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r184100 - head/share/man/man9
Message-ID:  <200810202000.m9KK0Y7A079752@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: attilio
Date: Mon Oct 20 20:00:34 2008
New Revision: 184100
URL: http://svn.freebsd.org/changeset/base/184100

Log:
  Reflect changes into vinvalbuf(9) prototype.

Modified:
  head/share/man/man9/vinvalbuf.9

Modified: head/share/man/man9/vinvalbuf.9
==============================================================================
--- head/share/man/man9/vinvalbuf.9	Mon Oct 20 19:56:59 2008	(r184099)
+++ head/share/man/man9/vinvalbuf.9	Mon Oct 20 20:00:34 2008	(r184100)
@@ -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 re
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810202000.m9KK0Y7A079752>