diff options
Diffstat (limited to 'fs/jffs2')
-rw-r--r-- | fs/jffs2/nodemgmt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/jffs2/nodemgmt.c b/fs/jffs2/nodemgmt.c index a8e198231230..f695c01ece56 100644 --- a/fs/jffs2/nodemgmt.c +++ b/fs/jffs2/nodemgmt.c | |||
@@ -7,7 +7,7 @@ | |||
7 | * | 7 | * |
8 | * For licensing information, see the file 'LICENCE' in this directory. | 8 | * For licensing information, see the file 'LICENCE' in this directory. |
9 | * | 9 | * |
10 | * $Id: nodemgmt.c,v 1.120 2005/03/20 17:46:20 dedekind Exp $ | 10 | * $Id: nodemgmt.c,v 1.121 2005/04/06 16:02:52 dedekind Exp $ |
11 | * | 11 | * |
12 | */ | 12 | */ |
13 | 13 | ||
@@ -437,7 +437,7 @@ void jffs2_mark_node_obsolete(struct jffs2_sb_info *c, struct jffs2_raw_node_ref | |||
437 | 437 | ||
438 | // Take care, that wasted size is taken into concern | 438 | // Take care, that wasted size is taken into concern |
439 | if ((jeb->dirty_size || ISDIRTY(jeb->wasted_size + ref_totlen(c, jeb, ref))) && jeb != c->nextblock) { | 439 | if ((jeb->dirty_size || ISDIRTY(jeb->wasted_size + ref_totlen(c, jeb, ref))) && jeb != c->nextblock) { |
440 | D1(printk("Dirtying\n")); | 440 | D1(printk(KERN_DEBUG "Dirtying\n")); |
441 | addedsize = ref_totlen(c, jeb, ref); | 441 | addedsize = ref_totlen(c, jeb, ref); |
442 | jeb->dirty_size += ref_totlen(c, jeb, ref); | 442 | jeb->dirty_size += ref_totlen(c, jeb, ref); |
443 | c->dirty_size += ref_totlen(c, jeb, ref); | 443 | c->dirty_size += ref_totlen(c, jeb, ref); |
@@ -459,7 +459,7 @@ void jffs2_mark_node_obsolete(struct jffs2_sb_info *c, struct jffs2_raw_node_ref | |||
459 | } | 459 | } |
460 | } | 460 | } |
461 | } else { | 461 | } else { |
462 | D1(printk("Wasting\n")); | 462 | D1(printk(KERN_DEBUG "Wasting\n")); |
463 | addedsize = 0; | 463 | addedsize = 0; |
464 | jeb->wasted_size += ref_totlen(c, jeb, ref); | 464 | jeb->wasted_size += ref_totlen(c, jeb, ref); |
465 | c->wasted_size += ref_totlen(c, jeb, ref); | 465 | c->wasted_size += ref_totlen(c, jeb, ref); |