diff options
author | mav <mav@FreeBSD.org> | 2013-04-06 17:14:56 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2013-04-06 17:14:56 +0000 |
commit | b4795f1bd1833e379a030d3197d485d2f30f5c75 (patch) | |
tree | 1e38137c9eae4067167acc3f4f68de27e8ac7c2f /sys/cam | |
parent | a45e6fa3957a63348d465a92a2ec92a295cb4f49 (diff) | |
download | FreeBSD-src-b4795f1bd1833e379a030d3197d485d2f30f5c75.zip FreeBSD-src-b4795f1bd1833e379a030d3197d485d2f30f5c75.tar.gz |
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.
Diffstat (limited to 'sys/cam')
-rw-r--r-- | sys/cam/ata/ata_da.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/cam/ata/ata_da.c b/sys/cam/ata/ata_da.c index 00a2d28..02d0e2a 100644 --- a/sys/cam/ata/ata_da.c +++ b/sys/cam/ata/ata_da.c @@ -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; |