Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Dec 2007 06:19:27 GMT
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 130147 for review
Message-ID:  <200712040619.lB46JRpG067470@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=130147

Change 130147 by marcel@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)) {
 			/*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712040619.lB46JRpG067470>