From owner-svn-src-all@FreeBSD.ORG Wed Jul 30 04:00:24 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 09A8A207; Wed, 30 Jul 2014 04:00:24 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EAC1D206A; Wed, 30 Jul 2014 04:00:23 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s6U40Nhu061662; Wed, 30 Jul 2014 04:00:23 GMT (envelope-from kib@svn.freebsd.org) Received: (from kib@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s6U40NPW061661; Wed, 30 Jul 2014 04:00:23 GMT (envelope-from kib@svn.freebsd.org) Message-Id: <201407300400.s6U40NPW061661@svn.freebsd.org> From: Konstantin Belousov Date: Wed, 30 Jul 2014 04:00:23 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r269285 - stable/10/share/man/man9 X-SVN-Group: stable-10 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jul 2014 04:00:24 -0000 Author: kib Date: Wed Jul 30 04:00:23 2014 New Revision: 269285 URL: http://svnweb.freebsd.org/changeset/base/269285 Log: MFC r269159: Correct the locking statement. MFC r269161: Explicitely mention that inactivated or reclaimed vnode is locked exclusively. Modified: stable/10/share/man/man9/VOP_INACTIVE.9 Directory Properties: stable/10/ (props changed) Modified: stable/10/share/man/man9/VOP_INACTIVE.9 ============================================================================== --- stable/10/share/man/man9/VOP_INACTIVE.9 Wed Jul 30 03:58:29 2014 (r269284) +++ stable/10/share/man/man9/VOP_INACTIVE.9 Wed Jul 30 04:00:23 2014 (r269285) @@ -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