This is the mail archive of the cluster-cvs@sourceware.org mailing list for the cluster.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

cluster: STABLE2 - GFS filesystem inconsistent after xfstests testsuite run


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=d47bcfe6acbef67357770faa1fb43353f81c7e86
Commit:        d47bcfe6acbef67357770faa1fb43353f81c7e86
Parent:        306d983bb92fefe5913f522a0f53cdb639620378
Author:        Bob Peterson <rpeterso@redhat.com>
AuthorDate:    Tue Sep 8 14:20:40 2009 -0500
Committer:     Bob Peterson <rpeterso@redhat.com>
CommitterDate: Tue Sep 8 14:26:36 2009 -0500

GFS filesystem inconsistent after xfstests test suite run

In pass1, an extra extended attribute block was being counted,
causing improper block counts to be reported and set into the dinode.

rhbz#509225 (addendum)
---
 gfs/gfs_fsck/pass1.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/gfs/gfs_fsck/pass1.c b/gfs/gfs_fsck/pass1.c
index 8569db5..fb09db5 100644
--- a/gfs/gfs_fsck/pass1.c
+++ b/gfs/gfs_fsck/pass1.c
@@ -442,7 +442,6 @@ static int finish_eattr_indir(struct fsck_inode *ip, int leaf_pointers,
 	/* Mark the inode as having an eattr in the block map
 	   so pass1c can check it. */
 	block_mark(ip->i_sbd->bl, ip->i_di.di_num.no_addr, eattr_block);
-	bc->ea_count++;
 	if (!leaf_pointer_errors)
 		return 0;
 	log_err("Inode %lld has recoverable indirect "


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]