aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jffs2/summary.c
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2006-05-24 20:53:09 -0400
committerDavid Woodhouse <dwmw2@infradead.org>2006-05-24 20:53:09 -0400
commit8b9e9fe8c6ee354aa75dc5a33e1575b21aa52084 (patch)
treedd18ecbeeaa6729908c7b14f11600e61578242ee /fs/jffs2/summary.c
parent046b8b9808127d63326a33bc6298c90eaee90eeb (diff)
[JFFS2] Fix and improve debugging output during scan.
Print wasted_size in scanned eraseblocks, print range correctly for summary dirent and inode entries. Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'fs/jffs2/summary.c')
-rw-r--r--fs/jffs2/summary.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/jffs2/summary.c b/fs/jffs2/summary.c
index a60bbcea5b7f..523a8f330ef5 100644
--- a/fs/jffs2/summary.c
+++ b/fs/jffs2/summary.c
@@ -413,7 +413,7 @@ static int jffs2_sum_process_sum_data(struct jffs2_sb_info *c, struct jffs2_eras
413 413
414 dbg_summary("Inode at 0x%08x-0x%08x\n", 414 dbg_summary("Inode at 0x%08x-0x%08x\n",
415 jeb->offset + je32_to_cpu(spi->offset), 415 jeb->offset + je32_to_cpu(spi->offset),
416 jeb->offset + je32_to_cpu(spi->offset) + je32_to_cpu(spu->totlen)); 416 jeb->offset + je32_to_cpu(spi->offset) + je32_to_cpu(spi->totlen));
417 417
418 ic = jffs2_scan_make_ino_cache(c, ino); 418 ic = jffs2_scan_make_ino_cache(c, ino);
419 if (!ic) { 419 if (!ic) {
@@ -435,7 +435,7 @@ static int jffs2_sum_process_sum_data(struct jffs2_sb_info *c, struct jffs2_eras
435 struct jffs2_sum_dirent_flash *spd; 435 struct jffs2_sum_dirent_flash *spd;
436 spd = sp; 436 spd = sp;
437 437
438 dbg_summary("Dirent at 0x%08x\n", 438 dbg_summary("Dirent at 0x%08x-0x%08x\n",
439 jeb->offset + je32_to_cpu(spd->offset), 439 jeb->offset + je32_to_cpu(spd->offset),
440 jeb->offset + je32_to_cpu(spd->offset) + je32_to_cpu(spd->totlen)); 440 jeb->offset + je32_to_cpu(spd->offset) + je32_to_cpu(spd->totlen));
441 441