Fix typo. We want to unlock mutex here.

Submitted by:	Andreas Kohn <andreas.kohn@gmail.com>
MFC after:	1 week
This commit is contained in:
pjd 2005-02-12 16:19:03 +00:00
parent a8c10a694d
commit a8be0605e4

View File

@ -214,7 +214,7 @@ g_gate_start(struct bio *bp)
mtx_lock(&sc->sc_queue_mtx);
if (sc->sc_queue_count > sc->sc_queue_size) {
mtx_lock(&sc->sc_queue_mtx);
mtx_unlock(&sc->sc_queue_mtx);
G_GATE_LOGREQ(1, bp, "Queue full, request canceled.");
g_io_deliver(bp, EIO);
return;