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

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Fri Dec 17 19:06:59 CST 2004


Author: mfasheh
Date: 2004-12-17 19:06:57 -0600 (Fri, 17 Dec 2004)
New Revision: 502

Modified:
   trunk/debugfs.ocfs2/dump.c
Log:
* print out the state of inode->id1->journal1



Modified: trunk/debugfs.ocfs2/dump.c
===================================================================
--- trunk/debugfs.ocfs2/dump.c	2004-12-17 02:02:18 UTC (rev 501)
+++ trunk/debugfs.ocfs2/dump.c	2004-12-18 01:06:57 UTC (rev 502)
@@ -177,6 +177,13 @@
 		       in->id1.bitmap1.i_total, in->id1.bitmap1.i_used,
 		       (in->id1.bitmap1.i_total - in->id1.bitmap1.i_used));
 
+	if (in->i_flags & OCFS2_JOURNAL_FL) {
+		fprintf(out, "\tJournal Flags: ");
+		if (in->id1.journal1.ij_flags & OCFS2_JOURNAL_DIRTY_FL)
+			fprintf(out, "Dirty ");
+		fprintf(out, "\n");
+	}
+
 	if (flags)
 		g_string_free (flags, 1);
 	return ;



More information about the Ocfs2-tools-commits mailing list