diff options
author | phk <phk@FreeBSD.org> | 2003-01-13 20:19:04 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-01-13 20:19:04 +0000 |
commit | 141eb3ac3662307a07a7efdcccdbf70ef3fc79d4 (patch) | |
tree | e000e0570d4de4f429b960ddcb12c9e4c4be223e /sys | |
parent | 4a79ccabfe66c0b5ed631e67a52771ff3405fea5 (diff) | |
download | FreeBSD-src-141eb3ac3662307a07a7efdcccdbf70ef3fc79d4.zip FreeBSD-src-141eb3ac3662307a07a7efdcccdbf70ef3fc79d4.tar.gz |
OK Ok, so I didn't check the NO_GEOM case for the final version...
Stumbled on by: bde
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/md/md.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/md/md.c b/sys/dev/md/md.c index 1ace6ab..b9f3c52 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 + } } } |