Author: smh
Date: Thu May 2 14:19:42 2013
New Revision: 250180
URL: http://svnweb.freebsd.org/changeset/base/250180
Log:
Fix probe in progress check in dareprobe
Reviewed by: mav
Approved by: pjd (mentor)
MFC after: 1 week
Modified:
head/sys/cam/scsi/scsi_da.c
Modified: head/sys/cam/scsi/scsi_da.c
==============================================================================
--- head/sys/cam/scsi/scsi_da.c Thu May 2 14:14:57 2013 (r250179)
+++ head/sys/cam/scsi/scsi_da.c Thu May 2 14:19:42 2013 (r250180)
@@ -3200,7 +3200,7 @@ dareprobe(struct cam_periph *periph)
softc = (struct da_softc *)periph->softc;
/* Probe in progress; don't interfere. */
- if ((softc->flags & DA_FLAG_PROBED) == 0)
+ if (softc->state != DA_STATE_NORMAL)
return;
status = cam_periph_acquire(periph);
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"