aboutsummaryrefslogtreecommitdiff
path: root/sys/geom/geom_slice.c
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2012-08-28 19:28:31 +0000
committerEd Schouten <ed@FreeBSD.org>2012-08-28 19:28:31 +0000
commit24d1105dde9a5cc5ea3067f09c7012c59d2cb76b (patch)
tree362b06dfc1018cf7268baf6b2840b1492e6cc95e /sys/geom/geom_slice.c
parent3f0fb35417bc333efa232ce60917b68e3b9d6f9f (diff)
downloadsrc-24d1105dde9a5cc5ea3067f09c7012c59d2cb76b.tar.gz
src-24d1105dde9a5cc5ea3067f09c7012c59d2cb76b.zip
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.
Notes
Notes: svn path=/head/; revision=239790
Diffstat (limited to 'sys/geom/geom_slice.c')
-rw-r--r--sys/geom/geom_slice.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/geom/geom_slice.c b/sys/geom/geom_slice.c
index 110085497acb..74b8983172d4 100644
--- a/sys/geom/geom_slice.c
+++ b/sys/geom/geom_slice.c
@@ -392,7 +392,6 @@ g_slice_config(struct g_geom *gp, u_int idx, int how, off_t offset, off_t length
sbuf_finish(sb);
pp = g_new_providerf(gp, sbuf_data(sb));
pp2 = LIST_FIRST(&gp->consumer)->provider;
- pp->flags = pp2->flags & G_PF_CANDELETE;
pp->stripesize = pp2->stripesize;
pp->stripeoffset = pp2->stripeoffset + offset;
if (pp->stripesize > 0)