aboutsummaryrefslogtreecommitdiff
path: root/sys/isa
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2003-04-01 15:06:26 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2003-04-01 15:06:26 +0000
commit891619a66d5e01e5d5db6a11cfd7f26c815338e3 (patch)
treef08dda1f60d395e9bc94bf2fd1921768bf958c6d /sys/isa
parent29f3f095a624492078f7578be83d684fc32fb2a9 (diff)
downloadsrc-891619a66d5e01e5d5db6a11cfd7f26c815338e3.tar.gz
src-891619a66d5e01e5d5db6a11cfd7f26c815338e3.zip
Use bioq_flush() to drain a bio queue with a specific error code.
Retain the mistake of not updating the devstat API for now. Spell bioq_disksort() consistently with the remaining bioq_*(). #include <geom/geom_disk.h> where this is more appropriate.
Notes
Notes: svn path=/head/; revision=112946
Diffstat (limited to 'sys/isa')
-rw-r--r--sys/isa/fd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/isa/fd.c b/sys/isa/fd.c
index 985642076bdd..6c6be9243aa5 100644
--- a/sys/isa/fd.c
+++ b/sys/isa/fd.c
@@ -1722,7 +1722,7 @@ fdstrategy(struct bio *bp)
}
bp->bio_pblkno = blknum;
s = splbio();
- bioqdisksort(&fdc->head, bp);
+ bioq_disksort(&fdc->head, bp);
untimeout(fd_turnoff, fd, fd->toffhandle); /* a good idea */
devstat_start_transaction_bio(fd->device_stats, bp);
device_busy(fd->dev);