PERFORCE change 169799 for review

Alexander Motin mav at FreeBSD.org
Sun Oct 25 13:29:50 UTC 2009


http://p4web.freebsd.org/chv.cgi?CH=169799

Change 169799 by mav at mav_mavtest on 2009/10/25 13:29:07

	Do not schedule commands while probe in progress.

Affected files ...

.. //depot/projects/scottl-camlock/src/sys/cam/ata/ata_da.c#32 edit

Differences ...

==== //depot/projects/scottl-camlock/src/sys/cam/ata/ata_da.c#32 (text+ko) ====

@@ -343,7 +343,8 @@
 	/*
 	 * Schedule ourselves for performing the work.
 	 */
-	xpt_schedule(periph, CAM_PRIORITY_NORMAL);
+	if (softc->state == ADA_STATE_NORMAL)
+		xpt_schedule(periph, CAM_PRIORITY_NORMAL);
 	cam_periph_unlock(periph);
 
 	return;


More information about the p4-projects mailing list