diff options
-rw-r--r-- | sys/geom/part/g_part_ebr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/geom/part/g_part_ebr.c b/sys/geom/part/g_part_ebr.c index 115162e..763f554 100644 --- a/sys/geom/part/g_part_ebr.c +++ b/sys/geom/part/g_part_ebr.c @@ -357,6 +357,8 @@ g_part_ebr_precheck(struct g_part_table *table, enum g_part_ctl req, struct g_part_parms *gpp) { #if defined(GEOM_PART_EBR_COMPAT) + if (req == G_PART_CTL_DESTROY) + return (0); return (ECANCELED); #else /* |