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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=249205
@ -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