Re: [BUG] 2.6.8-rc3 slab corruption (jffs2?)

From: Wu Jian Feng
Date: Mon Aug 09 2004 - 19:49:41 EST


On Mon, Aug 09, 2004 at 02:17:53PM +0100, David Woodhouse wrote:
>
> Please could you test this....
>

It doesn't compile :-(

--- mtdpart.c.old 2004-08-10 08:47:22.000000000 +0800
+++ mtdpart.c 2004-08-10 00:39:11.000000000 +0800
@@ -252,7 +252,7 @@
void mtd_erase_callback(struct erase_info *instr)
{
if (instr->mtd->erase == part_erase) {
- struct mtd_part *part = PART(mtd);
+ struct mtd_part *part = PART(instr->mtd);

if (instr->fail_addr != 0xffffffff)
instr->fail_addr -= part->offset;


Then worked fine here, Thanks!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/