aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2006-05-24 09:24:02 -0400
committerDavid Woodhouse <dwmw2@infradead.org>2006-05-24 09:24:02 -0400
commitc7c16c8e7604a8974d48562fecf8d9c7e221fced (patch)
tree6dda7ddecd86076bb8d9cdd437bd0b2359a033ba /fs
parent0305c8659ff9cebabf469d5cd0ab8dc384857e10 (diff)
[JFFS2] Revert Artem's Bunkage in debug messages.
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>
Diffstat (limited to 'fs')
-rw-r--r--fs/jffs2/nodemgmt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/jffs2/nodemgmt.c b/fs/jffs2/nodemgmt.c
index f4649c275fbe..8264eab2c899 100644
--- a/fs/jffs2/nodemgmt.c
+++ b/fs/jffs2/nodemgmt.c
@@ -517,7 +517,7 @@ void jffs2_mark_node_obsolete(struct jffs2_sb_info *c, struct jffs2_raw_node_ref
517 517
518 // Take care, that wasted size is taken into concern 518 // Take care, that wasted size is taken into concern
519 if ((jeb->dirty_size || ISDIRTY(jeb->wasted_size + freed_len)) && jeb != c->nextblock) { 519 if ((jeb->dirty_size || ISDIRTY(jeb->wasted_size + freed_len)) && jeb != c->nextblock) {
520 D1(printk(KERN_DEBUG "Dirtying\n")); 520 D1(printk("Dirtying\n"));
521 addedsize = freed_len; 521 addedsize = freed_len;
522 jeb->dirty_size += freed_len; 522 jeb->dirty_size += freed_len;
523 c->dirty_size += freed_len; 523 c->dirty_size += freed_len;
@@ -539,7 +539,7 @@ void jffs2_mark_node_obsolete(struct jffs2_sb_info *c, struct jffs2_raw_node_ref
539 } 539 }
540 } 540 }
541 } else { 541 } else {
542 D1(printk(KERN_DEBUG "Wasting\n")); 542 D1(printk("Wasting\n"));
543 addedsize = 0; 543 addedsize = 0;
544 jeb->wasted_size += freed_len; 544 jeb->wasted_size += freed_len;
545 c->wasted_size += freed_len; 545 c->wasted_size += freed_len;