cluster: RHEL55 - GFS filesystem inconsistent after xfstests test suite run

Bob Peterson rpeterso@fedoraproject.org
Tue Sep 8 19:24:00 GMT 2009


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=91583cc0f7a6364eb5983892b92976c7434cfc7b
Commit:        91583cc0f7a6364eb5983892b92976c7434cfc7b
Parent:        863037b3b98a84177540e89887e1b5d7231be48b
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:20:40 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 e45ac8e..016f587 100644
--- a/gfs/gfs_fsck/pass1.c
+++ b/gfs/gfs_fsck/pass1.c
@@ -455,7 +455,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 "



More information about the Cluster-cvs mailing list