[Ocfs-tools-commits] smushran commits r204 -
trunk/ocfs2/debugfs.ocfs2
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Thu Aug 26 19:43:28 CDT 2004
Author: smushran
Date: 2004-08-26 19:43:26 -0500 (Thu, 26 Aug 2004)
New Revision: 204
Modified:
trunk/ocfs2/debugfs.ocfs2/dump.c
trunk/ocfs2/debugfs.ocfs2/utils.c
Log:
dump_disk_lock no longer prints the seq and nodemap
Modified: trunk/ocfs2/debugfs.ocfs2/dump.c
===================================================================
--- trunk/ocfs2/debugfs.ocfs2/dump.c 2004-08-26 23:23:30 UTC (rev 203)
+++ trunk/ocfs2/debugfs.ocfs2/dump.c 2004-08-27 00:43:26 UTC (rev 204)
@@ -181,10 +181,16 @@
*/
void dump_disk_lock (FILE *out, ocfs2_disk_lock *dl)
{
+#if 0
ocfs2_super_block *sb = &((gbls.superblk)->id2.i_super);
int i, j, k;
__u32 node_map;
+#endif
+ fprintf(out, "\tLock Master: %u Level: 0x%0x\n",
+ dl->dl_master, dl->dl_level);
+
+#if 0
fprintf(out, "\tLock Master: %u Level: 0x%0x Seqnum: %llu\n",
dl->dl_master, dl->dl_level, (unsigned long long)dl->dl_seq_num);
@@ -200,6 +206,7 @@
}
fprintf (out, "\n");
}
+#endif
return ;
} /* dump_disk_lock */
Modified: trunk/ocfs2/debugfs.ocfs2/utils.c
===================================================================
--- trunk/ocfs2/debugfs.ocfs2/utils.c 2004-08-26 23:23:30 UTC (rev 203)
+++ trunk/ocfs2/debugfs.ocfs2/utils.c 2004-08-27 00:43:26 UTC (rev 204)
@@ -123,13 +123,13 @@
if (flag & FLAG_FILE_RENAME)
g_string_append (str, "rename ");
- if (flag & FLAG_FILE_UPDATE)
+ if (flag & FLAG_FILE_UPDATE)
g_string_append (str, "update ");
- if (flag & FLAG_FILE_RECOVERY)
+ if (flag & FLAG_FILE_RECOVERY)
g_string_append (str, "recovery ");
- if (flag & FLAG_FILE_CREATE_DIR)
+ if (flag & FLAG_FILE_CREATE_DIR)
g_string_append (str, "createdir ");
if (flag & FLAG_FILE_UPDATE_OIN)
More information about the Ocfs-tools-commits
mailing list