This is the mail archive of the
cluster-cvs@sourceware.org
mailing list for the cluster.
cluster: STABLE3 - GFS filesystem inconsistent after xfstests testsuite run
- From: Bob Peterson <rpeterso at fedoraproject dot org>
- To: cluster-cvs-relay at redhat dot com
- Date: Fri, 4 Sep 2009 21:11:30 +0000 (UTC)
- Subject: cluster: STABLE3 - GFS filesystem inconsistent after xfstests testsuite run
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=c360ca1235d96c9616d38f66526cdb56f4e95feb
Commit: c360ca1235d96c9616d38f66526cdb56f4e95feb
Parent: 1f4ea0b64e7bada6c20e15928a7816dad2fc026c
Author: Bob Peterson <rpeterso@redhat.com>
AuthorDate: Fri Sep 4 16:09:48 2009 -0500
Committer: Bob Peterson <rpeterso@redhat.com>
CommitterDate: Fri Sep 4 16:09:48 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#521068 (crosswrite from GFS2)
---
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 "