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/readinode.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/readinode.c')
-rw-r--r-- | fs/jffs2/readinode.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/jffs2/readinode.c b/fs/jffs2/readinode.c index 02a20d7b4d5..02b02c1146b 100644 --- a/fs/jffs2/readinode.c +++ b/fs/jffs2/readinode.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: readinode.c,v 1.128 2005/07/17 12:01:43 dedekind Exp $ | 10 | * $Id: readinode.c,v 1.129 2005/07/22 10:32:08 dedekind Exp $ |
11 | * | 11 | * |
12 | */ | 12 | */ |
13 | 13 | ||
@@ -92,8 +92,8 @@ int jffs2_add_full_dnode_to_inode(struct jffs2_sb_info *c, struct jffs2_inode_in | |||
92 | mark_ref_normal(next->node->raw); | 92 | mark_ref_normal(next->node->raw); |
93 | } | 93 | } |
94 | } | 94 | } |
95 | jffs2_dbg_fragtree_paranoia_check(f); | 95 | jffs2_dbg_fragtree_paranoia_check_nolock(f); |
96 | jffs2_dbg_dump_fragtree(f); | 96 | jffs2_dbg_dump_fragtree_nolock(f); |
97 | return 0; | 97 | return 0; |
98 | } | 98 | } |
99 | 99 | ||
@@ -480,7 +480,7 @@ static int jffs2_do_read_inode_internal(struct jffs2_sb_info *c, | |||
480 | 480 | ||
481 | jffs2_free_tmp_dnode_info(tn); | 481 | jffs2_free_tmp_dnode_info(tn); |
482 | } | 482 | } |
483 | jffs2_dbg_fragtree_paranoia_check(f); | 483 | jffs2_dbg_fragtree_paranoia_check_nolock(f); |
484 | 484 | ||
485 | if (!fn) { | 485 | if (!fn) { |
486 | /* No data nodes for this inode. */ | 486 | /* No data nodes for this inode. */ |