diff options
author | Artem B. Bityutskiy <dedekind@infradead.org> | 2005-07-31 05:08:41 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@mtd.linutronix.de> | 2005-11-06 12:19:41 -0500 |
commit | e0e3006f79a6d995c9a7de7556f11a9b97536423 (patch) | |
tree | 6c3948eec0d8f4af05609dc86d0e0104477457ab /fs/jffs2 | |
parent | 1e900979a7e6c2abbfd1b86bffd226d2d6115f66 (diff) |
[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 'fs/jffs2')
-rw-r--r-- | fs/jffs2/debug.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/fs/jffs2/debug.h b/fs/jffs2/debug.h index 4d785971201..2112bab514c 100644 --- a/fs/jffs2/debug.h +++ b/fs/jffs2/debug.h | |||
@@ -7,7 +7,7 @@ | |||
7 | * | 7 | * |
8 | * For licensing information, see the file 'LICENCE' in this directory. | 8 | * For licensing information, see the file 'LICENCE' in this directory. |
9 | * | 9 | * |
10 | * $Id: debug.h,v 1.7 2005/07/27 13:06:56 dedekind Exp $ | 10 | * $Id: debug.h,v 1.8 2005/07/31 09:08:38 dedekind Exp $ |
11 | * | 11 | * |
12 | */ | 12 | */ |
13 | #ifndef _JFFS2_DEBUG_H_ | 13 | #ifndef _JFFS2_DEBUG_H_ |
@@ -106,6 +106,11 @@ | |||
106 | #else | 106 | #else |
107 | #define JFFS2_DBG_FRAGTREE(fmt, ...) | 107 | #define JFFS2_DBG_FRAGTREE(fmt, ...) |
108 | #endif | 108 | #endif |
109 | #ifdef JFFS2_DBG_FRAGTREE2_MESSAGES | ||
110 | #define JFFS2_DBG_FRAGTREE2(fmt, ...) JFFS2_DEBUG(fmt, ##__VA_ARGS__) | ||
111 | #else | ||
112 | #define JFFS2_DBG_FRAGTREE2(fmt, ...) | ||
113 | #endif | ||
109 | 114 | ||
110 | /* Directory entry list manilulation debugging messages */ | 115 | /* Directory entry list manilulation debugging messages */ |
111 | #ifdef JFFS2_DBG_DENTLIST_MESSAGES | 116 | #ifdef JFFS2_DBG_DENTLIST_MESSAGES |
@@ -113,11 +118,6 @@ | |||
113 | #else | 118 | #else |
114 | #define JFFS2_DBG_DENTLIST(fmt, ...) | 119 | #define JFFS2_DBG_DENTLIST(fmt, ...) |
115 | #endif | 120 | #endif |
116 | #ifdef JFFS2_DBG_FRAGTREE2_MESSAGES | ||
117 | #define JFFS2_DBG_FRAGTREE2(fmt, ...) JFFS2_DEBUG(fmt, ##__VA_ARGS__) | ||
118 | #else | ||
119 | #define JFFS2_DBG_FRAGTREE2(fmt, ...) | ||
120 | #endif | ||
121 | 121 | ||
122 | /* Print the messages about manipulating node_refs */ | 122 | /* Print the messages about manipulating node_refs */ |
123 | #ifdef JFFS2_DBG_NODEREF_MESSAGES | 123 | #ifdef JFFS2_DBG_NODEREF_MESSAGES |