aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jffs2/debug.h
diff options
context:
space:
mode:
authorArtem B. Bityutskiy <dedekind@infradead.org>2005-07-31 10:08:41 +0100
committerThomas Gleixner <tglx@mtd.linutronix.de>2005-11-06 18:19:41 +0100
commite0e3006f79a6d995c9a7de7556f11a9b97536423 (patch)
tree6c3948eec0d8f4af05609dc86d0e0104477457ab /fs/jffs2/debug.h
parent[JFFS2] Move another fragtree-related function to nodelist.c (diff)
downloadlinux-dev-e0e3006f79a6d995c9a7de7556f11a9b97536423.tar.xz
linux-dev-e0e3006f79a6d995c9a7de7556f11a9b97536423.zip
[JFFS2] Refine fragtree debug macros
Signed-off-by: Artem B. Bityutskiy <dedekind@infradead.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to '')
-rw-r--r--fs/jffs2/debug.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/fs/jffs2/debug.h b/fs/jffs2/debug.h
index 4d7859712013..2112bab514c3 100644
--- a/fs/jffs2/debug.h
+++ b/fs/jffs2/debug.h
@@ -7,7 +7,7 @@
*
* For licensing information, see the file 'LICENCE' in this directory.
*
- * $Id: debug.h,v 1.7 2005/07/27 13:06:56 dedekind Exp $
+ * $Id: debug.h,v 1.8 2005/07/31 09:08:38 dedekind Exp $
*
*/
#ifndef _JFFS2_DEBUG_H_
@@ -106,6 +106,11 @@
#else
#define JFFS2_DBG_FRAGTREE(fmt, ...)
#endif
+#ifdef JFFS2_DBG_FRAGTREE2_MESSAGES
+#define JFFS2_DBG_FRAGTREE2(fmt, ...) JFFS2_DEBUG(fmt, ##__VA_ARGS__)
+#else
+#define JFFS2_DBG_FRAGTREE2(fmt, ...)
+#endif
/* Directory entry list manilulation debugging messages */
#ifdef JFFS2_DBG_DENTLIST_MESSAGES
@@ -113,11 +118,6 @@
#else
#define JFFS2_DBG_DENTLIST(fmt, ...)
#endif
-#ifdef JFFS2_DBG_FRAGTREE2_MESSAGES
-#define JFFS2_DBG_FRAGTREE2(fmt, ...) JFFS2_DEBUG(fmt, ##__VA_ARGS__)
-#else
-#define JFFS2_DBG_FRAGTREE2(fmt, ...)
-#endif
/* Print the messages about manipulating node_refs */
#ifdef JFFS2_DBG_NODEREF_MESSAGES