summaryrefslogtreecommitdiff
path: root/disk
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@nokia.com>2009-04-14 17:50:38 +0200
committerWolfgang Denk <wd@denx.de>2009-04-28 00:36:21 +0200
commit6356daff70867822bdb23cea49f98e65421a25b8 (patch)
tree92d343f6be95d7f09e79df69cdee1969cd738d52 /disk
parent351f40caf2f7806b2cefb93e077ea619b9f684e8 (diff)
downloadu-boot-imx-6356daff70867822bdb23cea49f98e65421a25b8.zip
u-boot-imx-6356daff70867822bdb23cea49f98e65421a25b8.tar.gz
u-boot-imx-6356daff70867822bdb23cea49f98e65421a25b8.tar.bz2
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>
Diffstat (limited to 'disk')
0 files changed, 0 insertions, 0 deletions