diff options
author | pjd <pjd@FreeBSD.org> | 2004-09-16 18:59:19 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2004-09-16 18:59:19 +0000 |
commit | 34730e1e31def9e1f1f9f2b6484393c24df1364b (patch) | |
tree | c9a74442ff9cff96e4af3adab857b9f3a6f33fdd /sys/dev/md | |
parent | fd329e76c33bebfdbcc97da625ee528e9aa72026 (diff) | |
download | FreeBSD-src-34730e1e31def9e1f1f9f2b6484393c24df1364b.zip FreeBSD-src-34730e1e31def9e1f1f9f2b6484393c24df1364b.tar.gz |
First wakeup, then unlock.
Diffstat (limited to 'sys/dev/md')
-rw-r--r-- | sys/dev/md/md.c | 3 |
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); } |