svn commit: r222895 - stable/8/sys/geom
Andrey V. Elsukov
ae at FreeBSD.org
Thu Jun 9 10:43:37 UTC 2011
Author: ae
Date: Thu Jun 9 10:43:36 2011
New Revision: 222895
URL: http://svn.freebsd.org/changeset/base/222895
Log:
MFC r222603:
Do not hide stripeoffset from libgeom(3), it may be useful even when
stripesize is zero.
Modified:
stable/8/sys/geom/geom_dump.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/amd64/include/xen/ (props changed)
stable/8/sys/cddl/contrib/opensolaris/ (props changed)
stable/8/sys/contrib/dev/acpica/ (props changed)
stable/8/sys/contrib/pf/ (props changed)
Modified: stable/8/sys/geom/geom_dump.c
==============================================================================
--- stable/8/sys/geom/geom_dump.c Thu Jun 9 10:04:11 2011 (r222894)
+++ stable/8/sys/geom/geom_dump.c Thu Jun 9 10:43:36 2011 (r222895)
@@ -207,10 +207,8 @@ g_conf_provider(struct sbuf *sb, struct
sbuf_printf(sb, "\t <mediasize>%jd</mediasize>\n",
(intmax_t)pp->mediasize);
sbuf_printf(sb, "\t <sectorsize>%u</sectorsize>\n", pp->sectorsize);
- if (pp->stripesize > 0) {
- sbuf_printf(sb, "\t <stripesize>%u</stripesize>\n", pp->stripesize);
- sbuf_printf(sb, "\t <stripeoffset>%u</stripeoffset>\n", pp->stripeoffset);
- }
+ 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)
;
else if (pp->geom->dumpconf != NULL) {
More information about the svn-src-stable
mailing list