[Ocfs2-tools-commits] mfasheh commits r329 - trunk/debugfs.ocfs2

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Wed Oct 13 20:34:47 CDT 2004


Author: mfasheh
Date: 2004-10-13 20:34:45 -0500 (Wed, 13 Oct 2004)
New Revision: 329

Modified:
   trunk/debugfs.ocfs2/dump.c
Log:
* better output format for group descriptors.



Modified: trunk/debugfs.ocfs2/dump.c
===================================================================
--- trunk/debugfs.ocfs2/dump.c	2004-10-14 01:06:00 UTC (rev 328)
+++ trunk/debugfs.ocfs2/dump.c	2004-10-14 01:34:45 UTC (rev 329)
@@ -292,9 +292,9 @@
 void dump_group_descriptor (FILE *out, ocfs2_group_desc *blk)
 {
 
-	fprintf (out, "\tParent Chain: %u   Blknum: %"PRIu64"\n",
-		 blk->bg_chain,
-		 blk->bg_blkno);
+	fprintf (out, "\tBlknum: %"PRIu64"   Next Group %"PRIu64"\n",
+		 blk->bg_blkno,
+		 blk->bg_next_group);
 
 	fprintf (out, "\tFree Bits Count: %u   Group Bits: %u   "
 		 "Group Size: %u\n",
@@ -302,9 +302,9 @@
 		 blk->bg_bits,
 		 blk->bg_size);
 
-	fprintf (out, "\tNext Group: %"PRIu64"   Parent Dinode: %"PRIu64"  "
+	fprintf (out, "\tParent Chain: %u   Parent Dinode: %"PRIu64"  "
 		 "Generation: %u\n",
-		 blk->bg_next_group,
+		 blk->bg_chain,
 		 blk->bg_parent_dinode,
 		 blk->bg_generation);
 



More information about the Ocfs2-tools-commits mailing list