[MTD] NAND Signal that a bitflip was corrected by ECC
authorThomas Gleixner <tglx@cruncher.tec.linutronix.de>
Mon, 29 May 2006 12:56:39 +0000 (14:56 +0200)
committerThomas Gleixner <tglx@cruncher.tec.linutronix.de>
Mon, 29 May 2006 13:06:51 +0000 (15:06 +0200)
commit9a1fcdfd4bee27c418424cac47abf7c049541297
tree5baa5f1e1d1a296a319bf6a5a4b636668c107e00
parent8593fbc68b0df1168995de76d1af38eb62fd6b62
[MTD] NAND Signal that a bitflip was corrected by ECC

Return -EUCLEAN on read when a bitflip was detected and corrected, so the
clients can react and eventually copy the affected block to a spare one.
Make all in kernel users aware of the change.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/mtd/inftlcore.c
drivers/mtd/mtdchar.c
drivers/mtd/mtdconcat.c
drivers/mtd/nand/nand_base.c
drivers/mtd/nftlcore.c
fs/jffs2/wbuf.c