PERFORCE change 130147 for review

Marcel Moolenaar marcel at FreeBSD.org
Mon Dec 3 22:19:30 PST 2007


http://perforce.freebsd.org/chv.cgi?CH=130147

Change 130147 by marcel at marcel_xcllnt on 2007/12/04 06:18:41

	The PART::offset attribute returns LBAs. We need to use
	gpe_start and not gpe_offset as the latter is a byte
	offset.

Affected files ...

.. //depot/projects/ia64/sys/geom/part/g_part.c#6 edit

Differences ...

==== //depot/projects/ia64/sys/geom/part/g_part.c#6 (text+ko) ====

@@ -1524,7 +1524,7 @@
 		if (g_handleattr_int(bp, "PART::depth", table->gpt_depth))
 			return;
 		if (g_handleattr_int(bp, "PART::offset",
-		    table->gpt_offset + entry->gpe_offset))
+		    table->gpt_offset + entry->gpe_start))
 			return;
 		if (!strcmp("GEOM::kerneldump", bp->bio_attribute)) {
 			/*


More information about the p4-projects mailing list