From owner-svn-src-head@FreeBSD.ORG Thu Jan 29 18:15:29 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7F08B10656D9; Thu, 29 Jan 2009 18:15:29 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.terabit.net.ua (mail.terabit.net.ua [195.137.202.147]) by mx1.freebsd.org (Postfix) with ESMTP id 1ED458FC13; Thu, 29 Jan 2009 18:15:28 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from skuns.zoral.com.ua ([91.193.166.194] helo=mail.zoral.com.ua) by mail.terabit.net.ua with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63 (FreeBSD)) (envelope-from ) id 1LSbQF-000Ie8-Fv; Thu, 29 Jan 2009 20:15:27 +0200 Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id n0TIFO12030509 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 29 Jan 2009 20:15:24 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.3/8.14.3) with ESMTP id n0TIFNaN002536; Thu, 29 Jan 2009 20:15:23 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.3/8.14.3/Submit) id n0TIFNbI002535; Thu, 29 Jan 2009 20:15:23 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Thu, 29 Jan 2009 20:15:23 +0200 From: Kostik Belousov To: John Baldwin Message-ID: <20090129181523.GA2471@deviant.kiev.zoral.com.ua> References: <200901291647.n0TGlFHZ058776@svn.freebsd.org> <200901291209.14313.jhb@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OgqxwSJOaUobr8KG" Content-Disposition: inline In-Reply-To: <200901291209.14313.jhb@freebsd.org> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua X-Virus-Scanned: mail.terabit.net.ua 1LSbQF-000Ie8-Fv 32e890d7015aa2f89ca451f8532387ca X-Terabit: YES Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Edward Tomasz Napierala Subject: Re: svn commit: r187894 - head/sys/ufs/ffs X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jan 2009 18:15:30 -0000 --OgqxwSJOaUobr8KG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jan 29, 2009 at 12:09:13PM -0500, John Baldwin wrote: > On Thursday 29 January 2009 11:47:15 am Edward Tomasz Napierala wrote: > > Author: trasz > > Date: Thu Jan 29 16:47:15 2009 > > New Revision: 187894 > > URL: http://svn.freebsd.org/changeset/base/187894 > >=20 > > Log: > > Make sure the cdev doesn't go away while the filesystem is still moun= ted. > > Otherwise dev2udev() could return garbage. > > =20 > > Reviewed by: kib > > Approved by: rwatson (mentor) > > Sponsored by: FreeBSD Foundation >=20 > Is this applicable to all filesystems? I'm curious why the VREF() on the= =20 > vnode associated with the cdev entry (um_devvp) is not sufficient to prev= ent=20 > this? I would have thought that the vnode would have held a reference on= the=20 > cdev. The point of this commit is that devvp vnode may be reclaimed. --OgqxwSJOaUobr8KG Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkmB8jkACgkQC3+MBN1Mb4jNegCfTz/8Vr2bHIQNhF+2/FLG75/s PMQAoKMsGUmxwoV/3p8tB0AdzcBZ9Ecd =OZ25 -----END PGP SIGNATURE----- --OgqxwSJOaUobr8KG--