summaryrefslogtreecommitdiffstats
path: root/sys/geom/shsec/g_shsec.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/geom/shsec/g_shsec.c')
-rw-r--r--sys/geom/shsec/g_shsec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/geom/shsec/g_shsec.c b/sys/geom/shsec/g_shsec.c
index bfdc8fd..dddb871 100644
--- a/sys/geom/shsec/g_shsec.c
+++ b/sys/geom/shsec/g_shsec.c
@@ -156,7 +156,7 @@ g_shsec_remove_disk(struct g_consumer *cp)
sc->sc_disks[no] = NULL;
if (sc->sc_provider != NULL) {
- g_orphan_provider(sc->sc_provider, ENXIO);
+ g_wither_provider(sc->sc_provider, ENXIO);
sc->sc_provider = NULL;
G_SHSEC_DEBUG(0, "Device %s removed.", sc->sc_name);
}
OpenPOWER on IntegriCloud