diff options
author | ed <ed@FreeBSD.org> | 2012-08-28 19:28:31 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2012-08-28 19:28:31 +0000 |
commit | 099a431e7fa16c57e47f80ce5b4b0bc73c99e3e3 (patch) | |
tree | 362b06dfc1018cf7268baf6b2840b1492e6cc95e /sys/geom/part | |
parent | 6e82ac32c7ef1558432883b4bcd104358ce52334 (diff) | |
download | FreeBSD-src-099a431e7fa16c57e47f80ce5b4b0bc73c99e3e3.zip FreeBSD-src-099a431e7fa16c57e47f80ce5b4b0bc73c99e3e3.tar.gz |
Remove unneeded G_PF_CANDELETE flag.
This flag is only used by GEOM so it can be propagated to the character
device's SI_CANDELETE. Unfortunately, SI_CANDELETE seems to do nothing.
Diffstat (limited to 'sys/geom/part')
-rw-r--r-- | sys/geom/part/g_part.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/geom/part/g_part.c b/sys/geom/part/g_part.c index 48ae931..859b2f1 100644 --- a/sys/geom/part/g_part.c +++ b/sys/geom/part/g_part.c @@ -423,7 +423,6 @@ g_part_new_provider(struct g_geom *gp, struct g_part_table *table, pp->sectorsize; entry->gpe_pp->mediasize -= entry->gpe_offset - offset; entry->gpe_pp->sectorsize = pp->sectorsize; - entry->gpe_pp->flags = pp->flags & G_PF_CANDELETE; entry->gpe_pp->stripesize = pp->stripesize; entry->gpe_pp->stripeoffset = pp->stripeoffset + entry->gpe_offset; if (pp->stripesize > 0) |