Dear Stefan Roese, In message <[email protected]> you wrote: > From: Adrian Hunter <[email protected]> > > 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 | 70 ++++++++++++++++---------------------------------- > 1 files changed, 23 insertions(+), 47 deletions(-)
Applied, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected] : I've tried (in vi) "g/[a-z]\n[a-z]/s//_/"...but that doesn't : cut it. Any ideas? (I take it that it may be a two-pass sort of solution). In the first pass, install perl. :-) Larry Wall <[email protected]> _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

