View | Details | Raw Unified | Return to bug 201185 | Differences between
and this patch

Collapse All | Expand All

(-)sys/geom/eli/g_eli.c (-5 / +1 lines)
Lines 726-736 Link Here
726
	gp = g_new_geomf(mp, "%s%s", bpp->name, G_ELI_SUFFIX);
726
	gp = g_new_geomf(mp, "%s%s", bpp->name, G_ELI_SUFFIX);
727
	sc = malloc(sizeof(*sc), M_ELI, M_WAITOK | M_ZERO);
727
	sc = malloc(sizeof(*sc), M_ELI, M_WAITOK | M_ZERO);
728
	gp->start = g_eli_start;
728
	gp->start = g_eli_start;
729
	/*
729
	gp->spoiled = g_eli_orphan;
730
	 * Spoiling cannot happen actually, because we keep provider open for
731
	 * writing all the time or provider is read-only.
732
	 */
733
	gp->spoiled = g_eli_orphan_spoil_assert;
734
	gp->orphan = g_eli_orphan;
730
	gp->orphan = g_eli_orphan;
735
	gp->dumpconf = g_eli_dumpconf;
731
	gp->dumpconf = g_eli_dumpconf;
736
	/*
732
	/*

Return to bug 201185