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: STABLE3 - GFS2 filesystem inconsistent after xfstests testsuite run


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=1f4ea0b64e7bada6c20e15928a7816dad2fc026c
Commit:        1f4ea0b64e7bada6c20e15928a7816dad2fc026c
Parent:        12d9a6d70ce484adfcfed24716ad4b03dbd7c1a7
Author:        Bob Peterson <rpeterso@redhat.com>
AuthorDate:    Fri Sep 4 16:03:49 2009 -0500
Committer:     Bob Peterson <rpeterso@redhat.com>
CommitterDate: Fri Sep 4 16:03:49 2009 -0500

GFS2 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
---
 gfs2/fsck/pass1.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/gfs2/fsck/pass1.c b/gfs2/fsck/pass1.c
index dfed4fd..17c4bfc 100644
--- a/gfs2/fsck/pass1.c
+++ b/gfs2/fsck/pass1.c
@@ -393,7 +393,6 @@ static int finish_eattr_indir(struct gfs2_inode *ip, int leaf_pointers,
 	   so pass1c can check it. */
 	gfs2_block_mark(ip->i_sbd, bl, ip->i_di.di_num.no_addr,
 			gfs2_eattr_block);
-	bc->ea_count++;
 	if (!leaf_pointer_errors)
 		return 0;
 	log_err( _("Inode %lld (0x%llx) has recoverable indirect "


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