summaryrefslogtreecommitdiffstats
path: root/sys/geom/linux_lvm/g_linux_lvm.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/geom/linux_lvm/g_linux_lvm.c')
-rw-r--r--sys/geom/linux_lvm/g_linux_lvm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/geom/linux_lvm/g_linux_lvm.c b/sys/geom/linux_lvm/g_linux_lvm.c
index 2ac19e0..18456c9 100644
--- a/sys/geom/linux_lvm/g_linux_lvm.c
+++ b/sys/geom/linux_lvm/g_linux_lvm.c
@@ -334,7 +334,7 @@ g_llvm_remove_disk(struct g_llvm_vg *vg, struct g_consumer *cp)
if (found) {
G_LLVM_DEBUG(0, "Device %s removed.",
lv->lv_gprov->name);
- g_orphan_provider(lv->lv_gprov, ENXIO);
+ g_wither_provider(lv->lv_gprov, ENXIO);
lv->lv_gprov = NULL;
}
}
OpenPOWER on IntegriCloud