[BUG] 2.6.8-rc3 slab corruption (jffs2?)
Wu Jian Feng
jianfengw at mobilesoft.com.cn
Mon Aug 9 20:52:04 EDT 2004
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!
More information about the linux-mtd
mailing list