[Cluster-devel] cluster/gfs2/edit hexedit.c
rpeterso at sourceware.org
rpeterso at sourceware.org
Thu Nov 8 18:10:09 UTC 2007
CVSROOT: /cvs/cluster
Module name: cluster
Changes by: rpeterso at sourceware.org 2007-11-08 18:10:09
Modified files:
gfs2/edit : hexedit.c
Log message:
Printing the quota file wasn't printing its contents due to a bug.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs2/edit/hexedit.c.diff?cvsroot=cluster&r1=1.23&r2=1.24
--- cluster/gfs2/edit/hexedit.c 2007/11/07 15:07:07 1.23
+++ cluster/gfs2/edit/hexedit.c 2007/11/08 18:10:09 1.24
@@ -1247,8 +1247,6 @@
parse_rindex(tmp_inode, TRUE);
brelse(tmp_bh, not_updated);
}
- else if (display_indirect(indirect, indirect_blocks, 0, 0) == 0)
- return -1;
else if (block_is_rglist()) {
tmp_bh = bread(&sbd, masterblock("rindex"));
tmp_inode = inode_get(&sbd, tmp_bh);
@@ -1279,6 +1277,8 @@
print_quota(tmp_inode);
brelse(tmp_bh, not_updated);
}
+ else if (display_indirect(indirect, indirect_blocks, 0, 0) == 0)
+ return -1;
return 0;
}
More information about the Cluster-devel
mailing list