diff options
author | Brian Norris <computersforpeace@gmail.com> | 2012-08-31 15:01:19 -0700 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2012-10-17 03:49:15 +0100 |
commit | f4c8c2f05a24536e4d883d6f3783c78aa6e773ff (patch) | |
tree | 0ce69100937dbcc1960c5ac05f7a8970474ef442 /drivers | |
parent | 8f864fc457e834f71de5b5b44401174170064593 (diff) |
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>
[bwh: Backported to 3.2: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions