Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Apr 2007 17:29:05 -0700
From:      John-Mark Gurney <gurney_j@resnet.uoregon.edu>
To:        Scott Long <scottl@FreeBSD.org>
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/cam/scsi scsi_sg.c
Message-ID:  <20070417002905.GA73385@funkthat.com>
In-Reply-To: <200704161940.l3GJeDVr064451@repoman.freebsd.org>
References:  <200704161940.l3GJeDVr064451@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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."



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