summaryrefslogtreecommitdiffstats
path: root/fs/ubifs/sb.c
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 /fs/ubifs/sb.c
parent351f40caf2f7806b2cefb93e077ea619b9f684e8 (diff)
downloadtalos-obmc-uboot-6356daff70867822bdb23cea49f98e65421a25b8.tar.gz
talos-obmc-uboot-6356daff70867822bdb23cea49f98e65421a25b8.zip
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 'fs/ubifs/sb.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud