Skip to content
Snippets Groups Projects
Commit 6356daff authored by Adrian Hunter's avatar Adrian Hunter Committed by Wolfgang Denk
Browse files

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: default avatarAdrian Hunter <adrian.hunter@nokia.com>
Signed-off-by: default avatarStefan Roese <sr@denx.de>
parent 351f40ca
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment