FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Cluster Development

 
 
LinkBack Thread Tools
 
Old 01-15-2008, 02:04 PM
 
Default cluster/gfs2/edit gfs2hex.c

CVSROOT: /cvs/cluster
Module name: cluster
Changes by: rpeterso@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;
 

Thread Tools




All times are GMT. The time now is 12:09 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org