summaryrefslogtreecommitdiffstats
path: root/sys/geom/geom_subr.c
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2012-08-28 19:28:31 +0000
committered <ed@FreeBSD.org>2012-08-28 19:28:31 +0000
commit099a431e7fa16c57e47f80ce5b4b0bc73c99e3e3 (patch)
tree362b06dfc1018cf7268baf6b2840b1492e6cc95e /sys/geom/geom_subr.c
parent6e82ac32c7ef1558432883b4bcd104358ce52334 (diff)
downloadFreeBSD-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/geom_subr.c')
-rw-r--r--sys/geom/geom_subr.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/geom/geom_subr.c b/sys/geom/geom_subr.c
index 4d8623f..2126ed7 100644
--- a/sys/geom/geom_subr.c
+++ b/sys/geom/geom_subr.c
@@ -1261,7 +1261,6 @@ provider_flags_to_string(struct g_provider *pp, char *str, size_t size)
strlcpy(str, "NONE", size);
return (str);
}
- ADDFLAG(pp, G_PF_CANDELETE, "G_PF_CANDELETE");
ADDFLAG(pp, G_PF_WITHER, "G_PF_WITHER");
ADDFLAG(pp, G_PF_ORPHAN, "G_PF_ORPHAN");
return (str);
OpenPOWER on IntegriCloud