Commit 27e6b8e3 authored by David Woodhouse's avatar David Woodhouse

[JFFS2] Honour TEST_TOTLEN macro in debugging code. ref->__totlen is going!

Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
parent 85a62db6
...@@ -400,7 +400,10 @@ __jffs2_dbg_dump_node_refs_nolock(struct jffs2_sb_info *c, ...@@ -400,7 +400,10 @@ __jffs2_dbg_dump_node_refs_nolock(struct jffs2_sb_info *c,
printk(JFFS2_DBG); printk(JFFS2_DBG);
for (ref = jeb->first_node; ; ref = ref_next(ref)) { for (ref = jeb->first_node; ; ref = ref_next(ref)) {
printk("%#08x(%#x)", ref_offset(ref), ref->__totlen); printk("%#08x", ref_offset(ref));
#ifdef TEST_TOTLEN
printk("(%x)", ref->__totlen);
#endif
if (ref_next(ref)) if (ref_next(ref))
printk("->"); printk("->");
else else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment