[Ocfs2-tools-commits] zab commits r414 - trunk/mkfs.ocfs2

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Thu Nov 18 16:58:34 CST 2004


Author: zab
Date: 2004-11-18 16:58:32 -0600 (Thu, 18 Nov 2004)
New Revision: 414

Modified:
   trunk/mkfs.ocfs2/mkfs.c
Log:
o make sure the free count in global bitmap chain matches the first group


Modified: trunk/mkfs.ocfs2/mkfs.c
===================================================================
--- trunk/mkfs.ocfs2/mkfs.c	2004-11-18 22:17:15 UTC (rev 413)
+++ trunk/mkfs.ocfs2/mkfs.c	2004-11-18 22:58:32 UTC (rev 414)
@@ -1064,7 +1064,8 @@
 		bm_record->bi.used_bits++;
 	}
 	bitmap->groups[0]->chain_total = s->global_cpg;
-	bitmap->groups[0]->chain_free = s->global_cpg;
+	bitmap->groups[0]->chain_free = 
+		bitmap->groups[0]->gd->bg_free_bits_count;
 
 	chain = 1;
 	blkno = (uint64_t) s->global_cpg << (s->cluster_size_bits - s->blocksize_bits);



More information about the Ocfs2-tools-commits mailing list