
28 Apr
2009
28 Apr
'09
12:36 a.m.
Dear Stefan Roese,
In message 1239724238-18155-1-git-send-email-sr@denx.de you wrote:
From: Adrian Hunter adrian.hunter@nokia.com
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
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: wd@denx.de
: 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 6849@jpl-devvax.JPL.NASA.GOV