summaryrefslogtreecommitdiffstats
path: root/sys/dev/md
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/md')
-rw-r--r--sys/dev/md/md.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/md/md.c b/sys/dev/md/md.c
index 803356f..1687411 100644
--- a/sys/dev/md/md.c
+++ b/sys/dev/md/md.c
@@ -379,9 +379,8 @@ g_md_start(struct bio *bp)
bp->bio_bcount = bp->bio_length;
mtx_lock(&sc->queue_mtx);
bioq_disksort(&sc->bio_queue, bp);
- mtx_unlock(&sc->queue_mtx);
-
wakeup(sc);
+ mtx_unlock(&sc->queue_mtx);
}
OpenPOWER on IntegriCloud