svn commit: r269287 - stable/9/share/man/man9

Konstantin Belousov kib at FreeBSD.org
Wed Jul 30 04:05:20 UTC 2014


Author: kib
Date: Wed Jul 30 04:05:19 2014
New Revision: 269287
URL: http://svnweb.freebsd.org/changeset/base/269287

Log:
  MFC r269159:
  Correct the locking statement.
  
  MFC r269161:
  Explicitely mention that inactivated or reclaimed vnode is locked
  exclusively.

Modified:
  stable/9/share/man/man9/VOP_INACTIVE.9
Directory Properties:
  stable/9/share/man/man9/   (props changed)

Modified: stable/9/share/man/man9/VOP_INACTIVE.9
==============================================================================
--- stable/9/share/man/man9/VOP_INACTIVE.9	Wed Jul 30 04:03:59 2014	(r269286)
+++ stable/9/share/man/man9/VOP_INACTIVE.9	Wed Jul 30 04:05:19 2014	(r269287)
@@ -28,7 +28,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd July 24, 1996
+.Dd July 27, 2014
 .Dt VOP_INACTIVE 9
 .Os
 .Sh NAME
@@ -63,17 +63,14 @@ 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 exclusively locked on entry, and must be left exclusively
+locked on return.
 .Sh SEE ALSO
 .Xr vnode 9
 .Sh AUTHORS


More information about the svn-src-all mailing list