All of lore.kernel.org
 help / color / mirror / Atom feed
* [Cluster-devel] cluster/gfs2/edit gfs2hex.c
@ 2008-01-15 15:04 rpeterso
  0 siblings, 0 replies; only message in thread
From: rpeterso @ 2008-01-15 15:04 UTC (permalink / raw)
  To: cluster-devel.redhat.com

CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	rpeterso at sourceware.org	2008-01-15 15:04:45

Modified files:
	gfs2/edit      : gfs2hex.c 

Log message:
	Fixup contributed by Andy Price.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs2/edit/gfs2hex.c.diff?cvsroot=cluster&r1=1.14&r2=1.15

--- cluster/gfs2/edit/gfs2hex.c	2007/11/15 20:32:42	1.14
+++ cluster/gfs2/edit/gfs2hex.c	2008/01/15 15:04:45	1.15
@@ -226,9 +226,8 @@
 	memset(indirect, 0, sizeof(indirect));
 	if (di->di_height > 0) {
 		/* Indirect pointers */
-		for (x = sizeof(struct gfs2_dinode), y = 0;
-			 x < bufsize;
-			 x += sizeof(uint64_t), y++) {
+		for (x = sizeof(struct gfs2_dinode); x < bufsize;
+			 x += sizeof(uint64_t)) {
 			p = be64_to_cpu(*(uint64_t *)(buf + x));
 			if (p) {
 				indirect->ii[indirect_blocks].block = p;



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-01-15 15:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-15 15:04 [Cluster-devel] cluster/gfs2/edit gfs2hex.c rpeterso

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.