diff options
author | David Woodhouse <dwmw2@infradead.org> | 2006-05-25 02:53:09 +0200 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2006-05-25 02:53:09 +0200 |
commit | 8b9e9fe8c6ee354aa75dc5a33e1575b21aa52084 (patch) | |
tree | dd18ecbeeaa6729908c7b14f11600e61578242ee /fs/jffs2/scan.c | |
parent | [JFFS2] Add 'jeb' argument to jffs2_prealloc_raw_node_refs() (diff) | |
download | linux-8b9e9fe8c6ee354aa75dc5a33e1575b21aa52084.tar.xz linux-8b9e9fe8c6ee354aa75dc5a33e1575b21aa52084.zip |
[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/scan.c')
-rw-r--r-- | fs/jffs2/scan.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/jffs2/scan.c b/fs/jffs2/scan.c index 5bbd4a36c75e..404ba6e48581 100644 --- a/fs/jffs2/scan.c +++ b/fs/jffs2/scan.c @@ -881,9 +881,9 @@ scan_more: } } - D1(printk(KERN_DEBUG "Block at 0x%08x: free 0x%08x, dirty 0x%08x, unchecked 0x%08x, used 0x%08x\n", jeb->offset, - jeb->free_size, jeb->dirty_size, jeb->unchecked_size, jeb->used_size)); - + D1(printk(KERN_DEBUG "Block at 0x%08x: free 0x%08x, dirty 0x%08x, unchecked 0x%08x, used 0x%08x, wasted 0x%08x\n", + jeb->offset,jeb->free_size, jeb->dirty_size, jeb->unchecked_size, jeb->used_size, jeb->wasted_size)); + /* mark_node_obsolete can add to wasted !! */ if (jeb->wasted_size) { jeb->dirty_size += jeb->wasted_size; |