summaryrefslogtreecommitdiffstats
path: root/sys/geom/vinum/geom_vinum_plex.c
diff options
context:
space:
mode:
authorle <le@FreeBSD.org>2004-08-10 20:51:48 +0000
committerle <le@FreeBSD.org>2004-08-10 20:51:48 +0000
commit8bc23a2edf55a79610cbbe7bf8cc4178ee9984ef (patch)
tree7d2f5e718bc7599d3085e80048e24ec5636a8630 /sys/geom/vinum/geom_vinum_plex.c
parent627d263e7e38974773d075a1f56f8780cea6ab37 (diff)
downloadFreeBSD-src-8bc23a2edf55a79610cbbe7bf8cc4178ee9984ef.zip
FreeBSD-src-8bc23a2edf55a79610cbbe7bf8cc4178ee9984ef.tar.gz
If we kill the worklist thread of a RAID5 plex we can destroy
the worklist mutex at the same time, so move the mtx_destroy() call to gv_kill_thread().
Diffstat (limited to 'sys/geom/vinum/geom_vinum_plex.c')
-rw-r--r--sys/geom/vinum/geom_vinum_plex.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/geom/vinum/geom_vinum_plex.c b/sys/geom/vinum/geom_vinum_plex.c
index 02855e4..448f55e 100644
--- a/sys/geom/vinum/geom_vinum_plex.c
+++ b/sys/geom/vinum/geom_vinum_plex.c
@@ -469,7 +469,6 @@ gv_plex_destroy_geom(struct gctl_req *req, struct g_class *mp,
* and signal it to self destruct.
*/
gv_kill_thread(p);
- mtx_destroy(&p->worklist_mtx);
/* g_free(sc); */
g_wither_geom(gp, ENXIO);
return (0);
OpenPOWER on IntegriCloud