From c235e25328c6cf4b9091f38d9c18db15764df594 Mon Sep 17 00:00:00 2001 From: phk Date: Tue, 1 Apr 2003 15:06:26 +0000 Subject: 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 where this is more appropriate. --- sys/dev/mcd/mcd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/mcd/mcd.c') diff --git a/sys/dev/mcd/mcd.c b/sys/dev/mcd/mcd.c index cdd6e93..7144f16 100644 --- a/sys/dev/mcd/mcd.c +++ b/sys/dev/mcd/mcd.c @@ -334,7 +334,7 @@ mcdstrategy(struct bio *bp) /* queue it */ s = splbio(); - bioqdisksort(&sc->data.head, bp); + bioq_disksort(&sc->data.head, bp); splx(s); /* now check whether we can perform processing */ -- cgit v1.1