From: Adrian Hunter Date: Fri, 20 Mar 2009 10:09:04 +0000 (+0100) Subject: UBIFS: fix recovery bug X-Git-Tag: Release-2010-05/1~3^2~76 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e144c1c037f1c6f7c687de5a2cd375cb40dfe71e;p=pandora-kernel.git UBIFS: fix recovery bug UBIFS did not recovery in a situation in which it could have. The relevant function assumed there could not be more nodes in an eraseblock after a corrupted node, but in fact the last (NAND) page written might contain anything. The correct approach is to check for empty space (0xFF bytes) from then on. Signed-off-by: Adrian Hunter --- Reading git-diff-tree failed