diff options
author | Artem B. Bityutskiy <dedekind@infradead.org> | 2005-07-17 08:01:46 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@mtd.linutronix.de> | 2005-11-06 10:29:43 -0500 |
commit | 61a39b694137cef6059a0714c3b1847aabe53b90 (patch) | |
tree | 8bba8f467a8a938d21cecb2ed63489246982b82e /fs/jffs2/wbuf.c | |
parent | 2b79adcca147c9f8fd1094ab4cb342d7e1790d70 (diff) |
[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/wbuf.c')
-rw-r--r-- | fs/jffs2/wbuf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/jffs2/wbuf.c b/fs/jffs2/wbuf.c index 85ae51d2060a..5a820f4ea358 100644 --- a/fs/jffs2/wbuf.c +++ b/fs/jffs2/wbuf.c | |||
@@ -9,7 +9,7 @@ | |||
9 | * | 9 | * |
10 | * For licensing information, see the file 'LICENCE' in this directory. | 10 | * For licensing information, see the file 'LICENCE' in this directory. |
11 | * | 11 | * |
12 | * $Id: wbuf.c,v 1.93 2005/07/17 06:56:21 dedekind Exp $ | 12 | * $Id: wbuf.c,v 1.94 2005/07/17 12:01:43 dedekind Exp $ |
13 | * | 13 | * |
14 | */ | 14 | */ |
15 | 15 | ||
@@ -139,7 +139,7 @@ static void jffs2_block_refile(struct jffs2_sb_info *c, struct jffs2_eraseblock | |||
139 | { | 139 | { |
140 | D1(printk("About to refile bad block at %08x\n", jeb->offset)); | 140 | D1(printk("About to refile bad block at %08x\n", jeb->offset)); |
141 | 141 | ||
142 | D2(jffs2_dbg_dump_block_lists(c)); | 142 | jffs2_dbg_dump_block_lists(c); |
143 | /* File the existing block on the bad_used_list.... */ | 143 | /* File the existing block on the bad_used_list.... */ |
144 | if (c->nextblock == jeb) | 144 | if (c->nextblock == jeb) |
145 | c->nextblock = NULL; | 145 | c->nextblock = NULL; |
@@ -156,7 +156,7 @@ static void jffs2_block_refile(struct jffs2_sb_info *c, struct jffs2_eraseblock | |||
156 | c->nr_erasing_blocks++; | 156 | c->nr_erasing_blocks++; |
157 | jffs2_erase_pending_trigger(c); | 157 | jffs2_erase_pending_trigger(c); |
158 | } | 158 | } |
159 | D2(jffs2_dbg_dump_block_lists(c)); | 159 | jffs2_dbg_dump_block_lists(c); |
160 | 160 | ||
161 | /* Adjust its size counts accordingly */ | 161 | /* Adjust its size counts accordingly */ |
162 | c->wasted_size += jeb->free_size; | 162 | c->wasted_size += jeb->free_size; |