Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[JFFS2] Whitespace cleanup. Fix missing debug message

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

authored by

Thomas Gleixner and committed by
Thomas Gleixner
7d27c814 c84441c4

+7 -6
+1
fs/jffs2/erase.c
··· 48 48 #else /* Linux */ 49 49 struct erase_info *instr; 50 50 51 + D1(printk(KERN_DEBUG "jffs2_erase_block(): erase block %#x (range %#x-%#x)\n", jeb->offset, jeb->offset, jeb->offset + c->sector_size)); 51 52 instr = kmalloc(sizeof(struct erase_info) + sizeof(struct erase_priv_struct), GFP_KERNEL); 52 53 if (!instr) { 53 54 printk(KERN_WARNING "kmalloc for struct erase_info in jffs2_erase_block failed. Refiling block for later\n");
+6 -6
fs/jffs2/nodelist.c
··· 489 489 void jffs2_add_ino_cache (struct jffs2_sb_info *c, struct jffs2_inode_cache *new) 490 490 { 491 491 struct jffs2_inode_cache **prev; 492 - D2(printk(KERN_DEBUG "jffs2_add_ino_cache: Add %p (ino #%u)\n", new, new->ino)); 492 + 493 493 spin_lock(&c->inocache_lock); 494 - if (!new->ino) 495 - new->ino = ++c->highest_ino; 496 - 497 - D2(printk(KERN_DEBUG "jffs2_add_ino_cache: Add %p (ino #%u)\n", new, new->ino)); 498 - 494 + if (!new->ino) 495 + new->ino = ++c->highest_ino; 496 + 497 + D2(printk(KERN_DEBUG "jffs2_add_ino_cache: Add %p (ino #%u)\n", new, new->ino)); 498 + 499 499 prev = &c->inocache_list[new->ino % INOCACHE_HASHSIZE]; 500 500 501 501 while ((*prev) && (*prev)->ino < new->ino) {