]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
[JFFS2] Revert Artem's Bunkage in debug messages.
authorDavid Woodhouse <dwmw2@infradead.org>
Wed, 24 May 2006 13:24:02 +0000 (14:24 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Wed, 24 May 2006 13:24:02 +0000 (14:24 +0100)
Random unthinking 'cleanup' caused debug messages like this:
   Obsoleting node at 0x0006daf4 of len 0x3a4: <7>Dirtying

If messages are continuation of an existing line, they don't need
to be prefixed with KERN_DEBUG.

THINK. Or you will be replaced by a small shell script.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
fs/jffs2/nodemgmt.c

index f4649c275fbe92a49e38095be78362d462482d7e..8264eab2c899e24b6f574350f53a3ca8107a7257 100644 (file)
@@ -517,7 +517,7 @@ void jffs2_mark_node_obsolete(struct jffs2_sb_info *c, struct jffs2_raw_node_ref
 
        // Take care, that wasted size is taken into concern
        if ((jeb->dirty_size || ISDIRTY(jeb->wasted_size + freed_len)) && jeb != c->nextblock) {
-               D1(printk(KERN_DEBUG "Dirtying\n"));
+               D1(printk("Dirtying\n"));
                addedsize = freed_len;
                jeb->dirty_size += freed_len;
                c->dirty_size += freed_len;
@@ -539,7 +539,7 @@ void jffs2_mark_node_obsolete(struct jffs2_sb_info *c, struct jffs2_raw_node_ref
                        }
                }
        } else {
-               D1(printk(KERN_DEBUG "Wasting\n"));
+               D1(printk("Wasting\n"));
                addedsize = 0;
                jeb->wasted_size += freed_len;
                c->wasted_size += freed_len;