[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: JFFS1 scan procedure

asanochkin@xxxxxxx.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 :)


To unsubscribe from this list: send the line "unsubscribe jffs-dev" in
the body of a message to majordomo@xxxxxxx.com