From 26d48b4044f423a90168903c429bff20cd79bef3 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Mon, 13 Jan 2003 20:19:04 +0000 Subject: [PATCH] OK Ok, so I didn't check the NO_GEOM case for the final version... Stumbled on by: bde --- sys/dev/md/md.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/dev/md/md.c b/sys/dev/md/md.c index 1ace6ab23cc8..b9f3c520ef9f 100644 --- a/sys/dev/md/md.c +++ b/sys/dev/md/md.c @@ -478,9 +478,9 @@ mdstrategy(struct bio *bp) sc = bp->bio_dev->si_drv1; - mtx_lock(*sc->queue_mtx); + mtx_lock(&sc->queue_mtx); bioqdisksort(&sc->bio_queue, bp); - mtx_unlock(*sc->queue_mtx); + mtx_unlock(&sc->queue_mtx); wakeup(sc); } @@ -721,8 +721,8 @@ md_kthread(void *arg) #else /* !NO_GEOM */ bp->bio_completed = bp->bio_length; g_io_deliver(bp, error); - } #endif + } } }