]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
JFFS2: don't fail on bitflips in OOB
authorBrian Norris <computersforpeace@gmail.com>
Fri, 31 Aug 2012 22:01:19 +0000 (15:01 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 12 Oct 2012 20:47:25 +0000 (05:47 +0900)
commitd94a5dbf03f3909c28d138213cbae702df643775
tree912c559359738950c41b96d55e5fa351618fbbae
parent11452ff5e0d11327103e362cc176cd201c3815ef
JFFS2: don't fail on bitflips in OOB

commit 74d83beaa229aac7d126ac1ed9414658ff1a89d2 upstream.

JFFS2 was designed without thought for OOB bitflips, it seems, but they
can occur and will be reported to JFFS2 via mtd_read_oob()[1]. We don't
want to fail on these transactions, since the data was corrected.

[1] Few drivers report bitflips for OOB-only transactions. With such
    drivers, this patch should have no effect.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/jffs2/wbuf.c