Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jul 2014 20:47:07 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r269159 - head/share/man/man9
Message-ID:  <201407272047.s6RKl76K090630@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Sun Jul 27 20:47:06 2014
New Revision: 269159
URL: http://svnweb.freebsd.org/changeset/base/269159

Log:
  Correct the locking statement.
  
  Sponsored by:	The FreeBSD Foundation
  MFC after:	3 days

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

Modified: head/share/man/man9/VOP_INACTIVE.9
==============================================================================
--- head/share/man/man9/VOP_INACTIVE.9	Sun Jul 27 20:14:22 2014	(r269158)
+++ head/share/man/man9/VOP_INACTIVE.9	Sun Jul 27 20:47:06 2014	(r269159)
@@ -28,7 +28,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd July 24, 1996
+.Dd July 27, 2014
 .Dt VOP_INACTIVE 9
 .Os
 .Sh NAME
@@ -63,17 +63,13 @@ is called when a vnode is being reused f
 Any file system specific resources associated with the vnode should be
 freed.
 .Sh LOCKS
-For VOP_INACTIVE, the
-.Fa vp
-will be locked on entry.
-Your VOP_INACTIVE code
-must unlock the
-.Fa vp
-prior to returning.
-.Pp
-For VOP_RECLAIM, the
+For both
+.Fn VOP_INACTIVE
+and
+.Fn VOP_RECLAIM ,
+the
 .Fa vp
-will not be locked on entry and should be left unlocked on return.
+will be locked on entry, and must be left locked on return.
 .Sh SEE ALSO
 .Xr vnode 9
 .Sh AUTHORS



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