diff options
author | Artem B. Bityutskiy <dedekind@infradead.org> | 2005-07-17 13:01:46 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@mtd.linutronix.de> | 2005-11-06 16:29:43 +0100 |
commit | 61a39b694137cef6059a0714c3b1847aabe53b90 (patch) | |
tree | 8bba8f467a8a938d21cecb2ed63489246982b82e /fs/jffs2/gc.c | |
parent | 2b79adcca147c9f8fd1094ab4cb342d7e1790d70 (diff) | |
download | linux-3.10-61a39b694137cef6059a0714c3b1847aabe53b90.tar.gz linux-3.10-61a39b694137cef6059a0714c3b1847aabe53b90.tar.bz2 linux-3.10-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/gc.c')
-rw-r--r-- | fs/jffs2/gc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/jffs2/gc.c b/fs/jffs2/gc.c index 337ab49ab24..6b5da0a1d31 100644 --- a/fs/jffs2/gc.c +++ b/fs/jffs2/gc.c @@ -7,7 +7,7 @@ * * For licensing information, see the file 'LICENCE' in this directory. * - * $Id: gc.c,v 1.149 2005/07/17 06:56:21 dedekind Exp $ + * $Id: gc.c,v 1.150 2005/07/17 12:01:43 dedekind Exp $ * */ @@ -111,7 +111,7 @@ again: ret->wasted_size = 0; } - D2(jffs2_dbg_dump_block_lists(c)); + jffs2_dbg_dump_block_lists(c); return ret; } @@ -142,7 +142,7 @@ int jffs2_garbage_collect_pass(struct jffs2_sb_info *c) if (c->checked_ino > c->highest_ino) { printk(KERN_CRIT "Checked all inodes but still 0x%x bytes of unchecked space?\n", c->unchecked_size); - D2(jffs2_dbg_dump_block_lists(c)); + jffs2_dbg_dump_block_lists(c); spin_unlock(&c->erase_completion_lock); BUG(); } |