diff options
Diffstat (limited to 'sys/geom/raid3/g_raid3.c')
-rw-r--r-- | sys/geom/raid3/g_raid3.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/geom/raid3/g_raid3.c b/sys/geom/raid3/g_raid3.c index 9b3c483..174a893 100644 --- a/sys/geom/raid3/g_raid3.c +++ b/sys/geom/raid3/g_raid3.c @@ -2368,8 +2368,7 @@ g_raid3_destroy_provider(struct g_raid3_softc *sc) mtx_unlock(&sc->sc_queue_mtx); G_RAID3_DEBUG(0, "Device %s: provider %s destroyed.", sc->sc_name, sc->sc_provider->name); - sc->sc_provider->flags |= G_PF_WITHER; - g_orphan_provider(sc->sc_provider, ENXIO); + g_wither_provider(sc->sc_provider, ENXIO); g_topology_unlock(); sc->sc_provider = NULL; if (sc->sc_syncdisk != NULL) |