commit | 542bcb9fb9557ea9d5a6ce7bcfb7b078d418d14f | [log] [tgz] |
---|---|---|
author | Adrian Hunter <adrian.hunter@nokia.com> | Tue Apr 14 17:50:38 2009 +0200 |
committer | Wolfgang Denk <wd@denx.de> | Tue Apr 28 00:36:21 2009 +0200 |
tree | 92d343f6be95d7f09e79df69cdee1969cd738d52 | |
parent | 3a5c264502edcae8589ff3dbb8d765763120a69a [diff] |
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 <adrian.hunter@nokia.com> Signed-off-by: Stefan Roese <sr@denx.de>