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:
parent
a1e969b8b2
commit
6bf435dc39
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user