cluster/gfs2/edit gfs2hex.c
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.
gfs2/edit/gfs2hex.c +2 -3
@@ -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;