[JFFS2] Debug code clean up - step 3
Various simplifiactions. printk format corrections. Convert more code to use the new debug functions. Signed-off-by: Artem B. Bityutskiy <dedekind@infradead.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:

committed by
Thomas Gleixner

parent
6dac02a5e1
commit
e0c8e42f8f
@@ -7,7 +7,7 @@
|
||||
*
|
||||
* For licensing information, see the file 'LICENCE' in this directory.
|
||||
*
|
||||
* $Id: read.c,v 1.40 2005/07/17 06:56:21 dedekind Exp $
|
||||
* $Id: read.c,v 1.41 2005/07/22 10:32:08 dedekind Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -174,7 +174,6 @@ int jffs2_read_inode_range(struct jffs2_sb_info *c, struct jffs2_inode_info *f,
|
||||
if (frag) {
|
||||
D1(printk(KERN_NOTICE "Eep. Hole in ino #%u fraglist. frag->ofs = 0x%08x, offset = 0x%08x\n", f->inocache->ino, frag->ofs, offset));
|
||||
holesize = min(holesize, frag->ofs - offset);
|
||||
D2(jffs2_dbg_dump_fragtree(f));
|
||||
}
|
||||
D1(printk(KERN_DEBUG "Filling non-frag hole from %d-%d\n", offset, offset+holesize));
|
||||
memset(buf, 0, holesize);
|
||||
|
Reference in New Issue
Block a user