summaryrefslogtreecommitdiffstats
path: root/mm/util.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2010-08-28 12:11:40 +0300
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2010-08-30 10:19:11 +0300
commit80c1c16fb89e7055acb560e6d90c881b5c7496c1 (patch)
treef84727cff89a3ac0cf7c0e502a189d3d20c289b1 /mm/util.c
parent01ebc12f5f2e88a1c6a5436b71a506ac2bf66d6b (diff)
downloadop-kernel-dev-80c1c16fb89e7055acb560e6d90c881b5c7496c1.zip
op-kernel-dev-80c1c16fb89e7055acb560e6d90c881b5c7496c1.tar.gz
UBI: fix forward compatibility
Commit 0798cea8c2e1afee59686c51d27d0e96b05e42d1 "UBI: improve corrupted flash handling" broke delet-compatible volumes handling - it introduced a limit of 8 eraseblocks which may be corrupted. And delete-compatible eraseblocks are added to the "corrupted" list, so if we'd have a large delete-compatible volume, UBI would refuse it. The fix is to add delete-compatible volumes to the erase list instead. Indeed, they are corrupted, we just have to erase them. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'mm/util.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud