public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* gfs1-utils: master - GFS filesystem inconsistent after xfstests test suite run
@ 2009-09-04 21:10 Bob Peterson
  0 siblings, 0 replies; only message in thread
From: Bob Peterson @ 2009-09-04 21:10 UTC (permalink / raw)
  To: cluster-cvs-relay

Gitweb:        http://git.fedorahosted.org/git/gfs1-utils.git?p=gfs1-utils.git;a=commitdiff;h=68cffac61e089e0232fdfbf1fd3b17d47314b814
Commit:        68cffac61e089e0232fdfbf1fd3b17d47314b814
Parent:        5a5e1d0bf3e030e38c050c29e8691d0e0db226db
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:12: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#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 "


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-09-04 21:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-04 21:10 gfs1-utils: master - GFS filesystem inconsistent after xfstests test suite run Bob Peterson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).