summaryrefslogtreecommitdiffstats
path: root/sys/geom/vinum/geom_vinum_rm.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/geom/vinum/geom_vinum_rm.c')
-rw-r--r--sys/geom/vinum/geom_vinum_rm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/geom/vinum/geom_vinum_rm.c b/sys/geom/vinum/geom_vinum_rm.c
index 9373dd8..cb2af79 100644
--- a/sys/geom/vinum/geom_vinum_rm.c
+++ b/sys/geom/vinum/geom_vinum_rm.c
@@ -342,6 +342,7 @@ gv_rm_drive(struct gv_softc *sc, struct gctl_req *req, struct gv_drive *d, int f
}
LIST_REMOVE(d, drive);
+ gv_kill_drive_thread(d);
gp = d->geom;
d->geom = NULL;
g_free(d->hdr);
OpenPOWER on IntegriCloud