From 24d1105dde9a5cc5ea3067f09c7012c59d2cb76b Mon Sep 17 00:00:00 2001 From: Ed Schouten Date: Tue, 28 Aug 2012 19:28:31 +0000 Subject: 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. --- sys/geom/geom_slice.c | 1 - 1 file changed, 1 deletion(-) (limited to 'sys/geom/geom_slice.c') 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) -- cgit v1.2.3