Report withered providers as such alike to GEOMs.
MFC after: 2 weeks
This commit is contained in:
parent
ba772028db
commit
2f36085dcf
@ -216,7 +216,9 @@ g_conf_provider(struct sbuf *sb, struct g_provider *pp)
|
|||||||
sbuf_printf(sb, "\t <sectorsize>%u</sectorsize>\n", pp->sectorsize);
|
sbuf_printf(sb, "\t <sectorsize>%u</sectorsize>\n", pp->sectorsize);
|
||||||
sbuf_printf(sb, "\t <stripesize>%u</stripesize>\n", pp->stripesize);
|
sbuf_printf(sb, "\t <stripesize>%u</stripesize>\n", pp->stripesize);
|
||||||
sbuf_printf(sb, "\t <stripeoffset>%u</stripeoffset>\n", pp->stripeoffset);
|
sbuf_printf(sb, "\t <stripeoffset>%u</stripeoffset>\n", pp->stripeoffset);
|
||||||
if (pp->geom->flags & G_GEOM_WITHER)
|
if (pp->flags & G_PF_WITHER)
|
||||||
|
sbuf_printf(sb, "\t <wither/>\n");
|
||||||
|
else if (pp->geom->flags & G_GEOM_WITHER)
|
||||||
;
|
;
|
||||||
else if (pp->geom->dumpconf != NULL) {
|
else if (pp->geom->dumpconf != NULL) {
|
||||||
sbuf_printf(sb, "\t <config>\n");
|
sbuf_printf(sb, "\t <config>\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user