summaryrefslogtreecommitdiff
path: root/fs/jffs2/readinode.c
diff options
context:
space:
mode:
authorArtem B. Bityutskiy <dedekind@infradead.org>2005-07-17 13:01:46 +0100
committerThomas Gleixner <tglx@mtd.linutronix.de>2005-11-06 16:29:43 +0100
commit61a39b694137cef6059a0714c3b1847aabe53b90 (patch)
tree8bba8f467a8a938d21cecb2ed63489246982b82e /fs/jffs2/readinode.c
parent2b79adcca147c9f8fd1094ab4cb342d7e1790d70 (diff)
downloadlwn-61a39b694137cef6059a0714c3b1847aabe53b90.tar.gz
lwn-61a39b694137cef6059a0714c3b1847aabe53b90.zip
[JFFS2] Debug code clean up - step 2
If debugging is disabled, define debugging functions as empty macros, instead of using Dx() explicitly. Signed-off-by: Artem B. Bityutskiy <dedekind@infradead.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'fs/jffs2/readinode.c')
-rw-r--r--fs/jffs2/readinode.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/jffs2/readinode.c b/fs/jffs2/readinode.c
index 49da1a6cfc81..02a20d7b4d5f 100644
--- a/fs/jffs2/readinode.c
+++ b/fs/jffs2/readinode.c
@@ -7,7 +7,7 @@
*
* For licensing information, see the file 'LICENCE' in this directory.
*
- * $Id: readinode.c,v 1.127 2005/07/17 11:13:46 dedekind Exp $
+ * $Id: readinode.c,v 1.128 2005/07/17 12:01:43 dedekind Exp $
*
*/
@@ -92,8 +92,8 @@ int jffs2_add_full_dnode_to_inode(struct jffs2_sb_info *c, struct jffs2_inode_in
mark_ref_normal(next->node->raw);
}
}
- D2(jffs2_dbg_fragtree_paranoia_check(f));
- D2(jffs2_dbg_dump_fragtree(f));
+ jffs2_dbg_fragtree_paranoia_check(f);
+ jffs2_dbg_dump_fragtree(f);
return 0;
}