Skip to content
  • Adrian Hunter's avatar
    UBIFS: fix recovery bug · 6356daff
    Adrian Hunter authored
    
    
    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>
    6356daff