Deleted Added
full compact
35c35
< * $FreeBSD: head/sys/geom/geom_slice.c 110696 2003-02-11 12:36:33Z phk $
---
> * $FreeBSD: head/sys/geom/geom_slice.c 110710 2003-02-11 14:57:34Z phk $
294c294
< struct g_provider *pp;
---
> struct g_provider *pp, *pp2;
349,350c349,352
< pp->flags =
< LIST_FIRST(&gp->consumer)->provider->flags & G_PF_CANDELETE;
---
> pp2 = LIST_FIRST(&gp->consumer)->provider;
> pp->flags = pp2->flags & G_PF_CANDELETE;
> pp->stripesize = pp2->stripesize;
> pp->stripeoffset = (pp2->stripeoffset + offset) % pp->stripesize;