svn commit: r217640 - stable/8/sys/geom/part
Nathan Whitehorn
nwhitehorn at FreeBSD.org
Thu Jan 20 15:06:43 UTC 2011
Author: nwhitehorn
Date: Thu Jan 20 15:06:42 2011
New Revision: 217640
URL: http://svn.freebsd.org/changeset/base/217640
Log:
MFC r217040:
Add an entry to the gpart XML to determine if the geom has pending changes
that need to be committed (or undone).
Modified:
stable/8/sys/geom/part/g_part.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/part/g_part.c
==============================================================================
--- stable/8/sys/geom/part/g_part.c Thu Jan 20 15:02:51 2011 (r217639)
+++ stable/8/sys/geom/part/g_part.c Thu Jan 20 15:06:42 2011 (r217640)
@@ -1796,6 +1796,8 @@ g_part_dumpconf(struct sbuf *sb, const c
table->gpt_heads);
sbuf_printf(sb, "%s<state>%s</state>\n", indent,
table->gpt_corrupt ? "CORRUPT": "OK");
+ sbuf_printf(sb, "%s<modified>%s</modified>\n", indent,
+ table->gpt_opened ? "true": "false");
G_PART_DUMPCONF(table, NULL, sb, indent);
}
}
More information about the svn-src-stable-8
mailing list