scottl      2008-08-29 04:39:46 UTC

  FreeBSD src repository

  Modified files:
    sys/cam/scsi         scsi_da.c 
  Log:
  SVN rev 182433 on 2008-08-29 04:39:46Z by scottl
  
  Fix a locking mistake in daopen().  If the open fails, which can happen
  because the media was removed, the periph would get its refcount dropped
  and ultimately freed before getting unlocked.  This created a dangling
  pointer that was easy to trip over.  This fixes a common source of
  crashes with removaable media, but problems remain and will get tracked
  down.
  
  Revision  Changes    Path
  1.228     +7 -6      src/sys/cam/scsi/scsi_da.c
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to