From: Artem Bityutskiy Date: Sat, 28 Aug 2010 09:11:40 +0000 (+0300) Subject: UBI: fix forward compatibility X-Git-Tag: v2.6.36-rc4~92^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80c1c16fb89e7055acb560e6d90c881b5c7496c1;p=pandora-kernel.git 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 --- Reading git-diff-tree failed