From: Adrian Hunter Date: Fri, 20 Mar 2009 10:09:04 +0000 (+0100) Subject: UBIFS: fix recovery bug X-Git-Tag: v2.6.30-rc1~140^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de0975781a1a8bc92e07eb7681d10ef9bb5e6df9;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