commit | 6356daff70867822bdb23cea49f98e65421a25b8 | [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 | 351f40caf2f7806b2cefb93e077ea619b9f684e8 [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>