diff options
Diffstat (limited to 'sys/geom/part/g_part.c')
-rw-r--r-- | sys/geom/part/g_part.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/geom/part/g_part.c b/sys/geom/part/g_part.c index c3f59d7..b4a7226 100644 --- a/sys/geom/part/g_part.c +++ b/sys/geom/part/g_part.c @@ -800,7 +800,7 @@ g_part_ctl_destroy(struct gctl_req *req, struct g_part_parms *gpp) table = gp->softc; LIST_FOREACH(entry, &table->gpt_entry, gpe_entry) { - if (entry->gpe_deleted) + if (entry->gpe_deleted || entry->gpe_internal) continue; gctl_error(req, "%d", EBUSY); return (EBUSY); |