svn commit: r281301 - stable/10/sys/geom
Alexander Motin
mav at FreeBSD.org
Thu Apr 9 10:08:12 UTC 2015
Author: mav
Date: Thu Apr 9 10:08:11 2015
New Revision: 281301
URL: https://svnweb.freebsd.org/changeset/base/281301
Log:
MFC r280686: Report withered providers as such alike to GEOMs.
Modified:
stable/10/sys/geom/geom_dump.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/geom/geom_dump.c
==============================================================================
--- stable/10/sys/geom/geom_dump.c Thu Apr 9 10:08:10 2015 (r281300)
+++ stable/10/sys/geom/geom_dump.c Thu Apr 9 10:08:11 2015 (r281301)
@@ -215,7 +215,9 @@ g_conf_provider(struct sbuf *sb, struct
sbuf_printf(sb, "\t <sectorsize>%u</sectorsize>\n", pp->sectorsize);
sbuf_printf(sb, "\t <stripesize>%u</stripesize>\n", pp->stripesize);
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) {
sbuf_printf(sb, "\t <config>\n");
More information about the svn-src-stable
mailing list