1 Index: linux-2.6.25.1/fs/jffs2/erase.c
2 ===================================================================
3 --- linux-2.6.25.1.orig/fs/jffs2/erase.c
4 +++ linux-2.6.25.1/fs/jffs2/erase.c
5 @@ -35,6 +35,8 @@ static void jffs2_erase_block(struct jff
9 + static char s[]="|/-\\", *p=s;
12 ret = jffs2_flash_erase(c, jeb);
14 @@ -47,6 +49,11 @@ static void jffs2_erase_block(struct jff
16 D1(printk(KERN_DEBUG "jffs2_erase_block(): erase block %#08x (range %#08x-%#08x)\n",
17 jeb->offset, jeb->offset, jeb->offset + c->sector_size));
23 instr = kmalloc(sizeof(struct erase_info) + sizeof(struct erase_priv_struct), GFP_KERNEL);
25 printk(KERN_WARNING "kmalloc for struct erase_info in jffs2_erase_block failed. Refiling block for later\n");