diff options
Diffstat (limited to 'fs/jffs2/nodemgmt.c')
-rw-r--r-- | fs/jffs2/nodemgmt.c | 4 |
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; |