]> Git Repo - J-u-boot.git/commit - fs/ubifs/recovery.c
UBIFS: fix recovery bug
authorAdrian Hunter <[email protected]>
Tue, 14 Apr 2009 15:50:38 +0000 (17:50 +0200)
committerWolfgang Denk <[email protected]>
Mon, 27 Apr 2009 22:36:21 +0000 (00:36 +0200)
commit6356daff70867822bdb23cea49f98e65421a25b8
tree92d343f6be95d7f09e79df69cdee1969cd738d52
parent351f40caf2f7806b2cefb93e077ea619b9f684e8
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 <[email protected]>
Signed-off-by: Stefan Roese <[email protected]>
fs/ubifs/recovery.c
This page took 0.035829 seconds and 4 git commands to generate.