projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82e1d19
)
[MTD] DiskOnChip: Prevent problems with existing filesystems
author
Dan Brown
<dan_brown@ieee.org>
Wed, 6 Apr 2005 20:14:22 +0000
(21:14 +0100)
committer
Thomas Gleixner
<tglx@mtd.linutronix.de>
Mon, 23 May 2005 11:10:57 +0000
(13:10 +0200)
Try not to break existing jffs2 installs, instead break oobfree into
two out-of-order pieces.
Signed-off-by: Dan Brown <dan_brown@ieee.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/mtd/nand/diskonchip.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mtd/nand/diskonchip.c
b/drivers/mtd/nand/diskonchip.c
index ee579dd3278ac7e1718c7eeda5f76ffbc4ff429f..fdc495c2f3e9b5ffb87121080aa190ec89900c5a 100644
(file)
--- a/
drivers/mtd/nand/diskonchip.c
+++ b/
drivers/mtd/nand/diskonchip.c
@@
-16,7
+16,7
@@
*
* Interface to generic NAND code for M-Systems DiskOnChip devices
*
- * $Id: diskonchip.c,v 1.5
1 2005/04/06 18:10:20
dbrown Exp $
+ * $Id: diskonchip.c,v 1.5
2 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.