diff options
author | Artem B. Bityutskiy <dedekind@infradead.org> | 2005-07-24 11:14:17 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@mtd.linutronix.de> | 2005-11-06 11:06:49 -0500 |
commit | e0c8e42f8f218063ff6838b25038ccef7ddf257e (patch) | |
tree | a072b5cfd6b9af41dfef13821383af584d989ca6 /fs/jffs2/scan.c | |
parent | 6dac02a5e1bba0bb88ece50160fc4a64cccf30d1 (diff) |
[JFFS2] Debug code clean up - step 3
Various simplifiactions. printk format corrections.
Convert more code to use the new debug functions.
Signed-off-by: Artem B. Bityutskiy <dedekind@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'fs/jffs2/scan.c')
-rw-r--r-- | fs/jffs2/scan.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/jffs2/scan.c b/fs/jffs2/scan.c index a2a51b7c2fd9..fcd6314cf179 100644 --- a/fs/jffs2/scan.c +++ b/fs/jffs2/scan.c | |||
@@ -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: scan.c,v 1.120 2005/07/17 06:56:21 dedekind Exp $ | 10 | * $Id: scan.c,v 1.121 2005/07/20 15:32:28 dedekind Exp $ |
11 | * | 11 | * |
12 | */ | 12 | */ |
13 | #include <linux/kernel.h> | 13 | #include <linux/kernel.h> |
@@ -130,7 +130,7 @@ int jffs2_scan_medium(struct jffs2_sb_info *c) | |||
130 | if (ret < 0) | 130 | if (ret < 0) |
131 | goto out; | 131 | goto out; |
132 | 132 | ||
133 | jffs2_dbg_acct_paranoia_check(c, jeb); | 133 | jffs2_dbg_acct_paranoia_check_nolock(c, jeb); |
134 | 134 | ||
135 | /* Now decide which list to put it on */ | 135 | /* Now decide which list to put it on */ |
136 | switch(ret) { | 136 | switch(ret) { |
@@ -370,7 +370,7 @@ static int jffs2_scan_eraseblock (struct jffs2_sb_info *c, struct jffs2_eraseblo | |||
370 | scan_more: | 370 | scan_more: |
371 | while(ofs < jeb->offset + c->sector_size) { | 371 | while(ofs < jeb->offset + c->sector_size) { |
372 | 372 | ||
373 | jffs2_dbg_acct_paranoia_check(c, jeb); | 373 | jffs2_dbg_acct_paranoia_check_nolock(c, jeb); |
374 | 374 | ||
375 | cond_resched(); | 375 | cond_resched(); |
376 | 376 | ||