Propagate G_PF_CANDELETE to our own providers from the provider we attach to.
This commit is contained in:
parent
b3b3d1b7fe
commit
faa7b8b96e
@ -346,6 +346,8 @@ g_slice_config(struct g_geom *gp, u_int idx, int how, off_t offset, off_t length
|
||||
sbuf_vprintf(sb, fmt, ap);
|
||||
sbuf_finish(sb);
|
||||
pp = g_new_providerf(gp, sbuf_data(sb));
|
||||
pp->flags =
|
||||
LIST_FIRST(&gp->consumer)->provider->flags & G_PF_CANDELETE;
|
||||
if (bootverbose)
|
||||
printf("GEOM: Configure %s, start %jd length %jd end %jd\n",
|
||||
pp->name, (intmax_t)offset, (intmax_t)length,
|
||||
|
Loading…
x
Reference in New Issue
Block a user