Lock the topology before calling gv_parse_config, not afterwards.
This commit is contained in:
parent
6b2b3e8745
commit
ecffb8e64b
@ -367,10 +367,10 @@ gv_drive_taste(struct g_class *mp, struct g_provider *pp, int flags __unused)
|
||||
g_free(vhdr);
|
||||
break;
|
||||
}
|
||||
g_topology_lock();
|
||||
gv_parse_config(sc, buf, 1);
|
||||
g_free(buf);
|
||||
|
||||
g_topology_lock();
|
||||
g_access(cp, -1, 0, 0);
|
||||
g_detach(cp);
|
||||
g_wither_geom(gp, ENXIO);
|
||||
|
Loading…
x
Reference in New Issue
Block a user