From owner-cvs-all@FreeBSD.ORG Tue Apr 17 00:48:39 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E6EC616A400; Tue, 17 Apr 2007 00:48:39 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.freebsd.org (Postfix) with ESMTP id B78C913C4BD; Tue, 17 Apr 2007 00:48:39 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (5t29r462a5ko3scp@localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.6/8.13.3) with ESMTP id l3H0T51u022682; Mon, 16 Apr 2007 17:29:05 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.6/8.13.3/Submit) id l3H0T5wL022681; Mon, 16 Apr 2007 17:29:05 -0700 (PDT) (envelope-from jmg) Date: Mon, 16 Apr 2007 17:29:05 -0700 From: John-Mark Gurney To: Scott Long Message-ID: <20070417002905.GA73385@funkthat.com> References: <200704161940.l3GJeDVr064451@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200704161940.l3GJeDVr064451@repoman.freebsd.org> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/cam/scsi scsi_sg.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Apr 2007 00:48:40 -0000 Scott Long wrote this message on Mon, Apr 16, 2007 at 19:40 +0000: > scottl 2007-04-16 19:40:13 UTC > > FreeBSD src repository > > Modified files: > sys/cam/scsi scsi_sg.c > Log: > Destroy the devalias before destroying the dev. > > Revision Changes Path > 1.6 +1 -1 src/sys/cam/scsi/scsi_sg.c Umm.. shouldn't you not call destroy_dev on the devalias? From make_dev(9): Do not call destroy_dev() on devices that were created with make_dev_alias(). -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."