aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2008-04-22 20:25:33 -0400
committerDavid Woodhouse <dwmw2@infradead.org>2008-04-22 20:25:33 -0400
commit27e6b8e388fffb332476ddab00bbe05cd5da5f32 (patch)
tree1088ce21ae6fe147dccd1da6ee3653782cf742a0
parent85a62db6245a82f07a31b387915ee2180b9ea11a (diff)
[JFFS2] Honour TEST_TOTLEN macro in debugging code. ref->__totlen is going!
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
-rw-r--r--fs/jffs2/debug.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/fs/jffs2/debug.c b/fs/jffs2/debug.c
index 590bdd6e0147..e198468a8c68 100644
--- a/fs/jffs2/debug.c
+++ b/fs/jffs2/debug.c
@@ -400,7 +400,10 @@ __jffs2_dbg_dump_node_refs_nolock(struct jffs2_sb_info *c,
400 400
401 printk(JFFS2_DBG); 401 printk(JFFS2_DBG);
402 for (ref = jeb->first_node; ; ref = ref_next(ref)) { 402 for (ref = jeb->first_node; ; ref = ref_next(ref)) {
403 printk("%#08x(%#x)", ref_offset(ref), ref->__totlen); 403 printk("%#08x", ref_offset(ref));
404#ifdef TEST_TOTLEN
405 printk("(%x)", ref->__totlen);
406#endif
404 if (ref_next(ref)) 407 if (ref_next(ref))
405 printk("->"); 408 printk("->");
406 else 409 else