Date: Thu, 20 Jan 2011 15:06:42 +0000 (UTC) From: Nathan Whitehorn <nwhitehorn@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r217640 - stable/8/sys/geom/part Message-ID: <201101201506.p0KF6grs017826@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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); } }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101201506.p0KF6grs017826>