提交 dff59421 编写于 作者: D Dan Brown 提交者: Thomas Gleixner

[MTD] DiskOnChip: Prevent problems with existing filesystems

Try not to break existing jffs2 installs, instead break oobfree into 
two out-of-order pieces.
Signed-off-by: NDan Brown <dan_brown@ieee.org>
Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
上级 82e1d19f
......@@ -16,7 +16,7 @@
*
* Interface to generic NAND code for M-Systems DiskOnChip devices
*
* $Id: diskonchip.c,v 1.51 2005/04/06 18:10:20 dbrown Exp $
* $Id: diskonchip.c,v 1.52 2005/04/06 20:14:19 dbrown Exp $
*/
#include <linux/kernel.h>
......@@ -1055,7 +1055,7 @@ static struct nand_oobinfo doc200x_oobinfo = {
.useecc = MTD_NANDECC_AUTOPLACE,
.eccbytes = 6,
.eccpos = {0, 1, 2, 3, 4, 5},
.oobfree = { {6, 10} }
.oobfree = { {8, 8}, {6, 2} }
};
/* Find the (I)NFTL Media Header, and optionally also the mirror media header.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
新手
引导
客服 返回
顶部