summaryrefslogtreecommitdiffstats
path: root/sys/dev/ata/atapi-tape.c
diff options
context:
space:
mode:
authorsos <sos@FreeBSD.org>2002-03-11 21:04:32 +0000
committersos <sos@FreeBSD.org>2002-03-11 21:04:32 +0000
commit2bbd43c8f1465da1596d644343204c5855f5af99 (patch)
treeb285f3cbc9ac091eb6723d13404e5674e00ccd41 /sys/dev/ata/atapi-tape.c
parentfb6b9eab60b6bbddfa7ced0500e84f057fb0e8ec (diff)
downloadFreeBSD-src-2bbd43c8f1465da1596d644343204c5855f5af99.zip
FreeBSD-src-2bbd43c8f1465da1596d644343204c5855f5af99.tar.gz
Add new support for locking an ATA channel and use that throughout
the ATA/ATAPI driver. This solves the concurrency problem with the new GEOM code, and also cuts a good deal of the patch size in the upcoming MFC.
Diffstat (limited to 'sys/dev/ata/atapi-tape.c')
-rw-r--r--sys/dev/ata/atapi-tape.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ata/atapi-tape.c b/sys/dev/ata/atapi-tape.c
index 03130ad..494404a 100644
--- a/sys/dev/ata/atapi-tape.c
+++ b/sys/dev/ata/atapi-tape.c
@@ -448,8 +448,8 @@ aststrategy(struct bio *bp)
s = splbio();
bioq_insert_tail(&stp->queue, bp);
- ata_start(stp->device->channel);
splx(s);
+ ata_start(stp->device->channel);
}
void
OpenPOWER on IntegriCloud