JFFS1 scan procedure

David Woodhouse dwmw2 at infradead.org
Sat Dec 1 05:19:48 EST 2001


asanochkin at Lnxw.COM said:
> I've been using JFFS1 for some time and faced a problem that the JFFS1
> scan procedure is not robust enough. Namely, it expects that the flash
> region it scans is either erased or is in a state left by JFFS1
> itself.  That is, it doesn't expect that the flash is containing a
> "garbage", which can be the case sometimes.

This looks sane to me, although I'll admit that JFFS1 is a vague and 
distant memory - I have enough trouble remembering the details of JFFS2 :)

Unless someone else objects to it shortly, feel free to go ahead and commit
it. Please could I ask you to make the layout of the new code match what was
there already though? Curly braces on the same line as the if() statement, 
etc. I'll refrain from being pedantic about printks without priorities as 
that _does_ actually match the existing code :)




--
dwmw2






More information about the linux-mtd mailing list