From mboxrd@z Thu Jan 1 00:00:00 1970 From: rpeterso@sourceware.org Date: 8 Nov 2007 18:10:09 -0000 Subject: [Cluster-devel] cluster/gfs2/edit hexedit.c Message-ID: <20071108181009.18963.qmail@sourceware.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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; }