Don't hold topology lock while calling g_gate_release().

Found by:	KASSERT()
This commit is contained in:
Pawel Jakub Dawidek 2004-06-21 09:12:08 +00:00
parent be8b4bc831
commit 47f44cb708

View File

@ -355,7 +355,9 @@ g_gate_dumpconf(struct sbuf *sb, const char *indent, struct g_geom *gp,
sbuf_printf(sb, "%s<queue_size>%u</queue_size>\n", indent,
sc->sc_queue_size);
sbuf_printf(sb, "%s<ref>%u</ref>\n", indent, sc->sc_ref);
g_topology_unlock();
g_gate_release(sc);
g_topology_lock();
}
static int