summaryrefslogtreecommitdiffstats
path: root/sys/geom/eli
diff options
context:
space:
mode:
Diffstat (limited to 'sys/geom/eli')
-rw-r--r--sys/geom/eli/g_eli.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/geom/eli/g_eli.c b/sys/geom/eli/g_eli.c
index 6eea018..a094720 100644
--- a/sys/geom/eli/g_eli.c
+++ b/sys/geom/eli/g_eli.c
@@ -730,10 +730,10 @@ g_eli_create(struct gctl_req *req, struct g_class *mp, struct g_provider *bpp,
sc = malloc(sizeof(*sc), M_ELI, M_WAITOK | M_ZERO);
gp->start = g_eli_start;
/*
- * Spoiling cannot happen actually, because we keep provider open for
- * writing all the time or provider is read-only.
+ * Spoiling can happen even though we have the provider open
+ * exclusively, e.g. through media change events.
*/
- gp->spoiled = g_eli_orphan_spoil_assert;
+ gp->spoiled = g_eli_orphan;
gp->orphan = g_eli_orphan;
gp->dumpconf = g_eli_dumpconf;
/*
OpenPOWER on IntegriCloud