Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > 9383e745e23602bc45f9c92184feea59 > files > 72

gfs2-utils-0.1.62-28.el5.src.rpm

commit 863037b3b98a84177540e89887e1b5d7231be48b
Author: Bob Peterson <rpeterso@redhat.com>
Date:   Tue Sep 8 13:15:09 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#500483

diff --git a/gfs2/fsck/pass1.c b/gfs2/fsck/pass1.c
index c03bb51..af788e0 100644
--- a/gfs2/fsck/pass1.c
+++ b/gfs2/fsck/pass1.c
@@ -401,7 +401,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 "