cvs commit: src/sys/cam/scsi scsi_sg.c

John-Mark Gurney gurney_j at resnet.uoregon.edu
Tue Apr 17 00:48:40 UTC 2007


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."


More information about the cvs-src mailing list