Replicate r245306 from SCSI to ATA. The problem didn't appear so far,

covered by multilevel freeze mechanism, but it is better to be safe.
This commit is contained in:
Alexander Motin 2013-04-06 17:14:56 +00:00
parent a1e969b8b2
commit 6bf435dc39

View File

@ -614,6 +614,9 @@ adaschedule(struct cam_periph *periph)
struct ada_softc *softc = (struct ada_softc *)periph->softc;
uint32_t prio;
if (softc->state != ADA_STATE_NORMAL)
return;
/* Check if cam_periph_getccb() was called. */
prio = periph->immediate_priority;