ff0dab64b4
When a flash-based BBT is not used, nand_default_mark_blockbad() is supposed to mark the block bad in the oob. However, it sets the wrong length variable so that no bad block marker is in fact written. This patch attempts to rectify that. (As note, it seems to be that logically, it shouldn't be necessary to set both length variables, as one appears to be for the main buffer, and one for the oob buffer, but this is how it is done in several places, including the code for the mtd character device MEMWRITEOOB and MEMREADOOB ioctls. I'm not sure if this is a temporary solution during some rework of the mtd infrastructure, or whether there is a deeper thought here.) Signed-off-by: Ricard Wanderlöf <ricardw@axis.com> Signed-off-by: David Woodhouse <dwmw2@infradead.org> |
||
---|---|---|
.. | ||
ams-delta.c | ||
at91_nand.c | ||
au1550nd.c | ||
autcpu12.c | ||
cs553x_nand.c | ||
diskonchip.c | ||
edb7312.c | ||
h1910.c | ||
Kconfig | ||
Makefile | ||
nand_base.c | ||
nand_bbt.c | ||
nand_ecc.c | ||
nand_ids.c | ||
nandsim.c | ||
ndfc.c | ||
ppchameleonevb.c | ||
rtc_from4.c | ||
s3c2410.c | ||
sharpsl.c | ||
spia.c | ||
toto.c | ||
ts7250.c |