svn commit: r250180 - head/sys/cam/scsi

Steven Hartland smh at FreeBSD.org
Thu May 2 14:19:43 UTC 2013


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);


More information about the svn-src-all mailing list