Problems with JFFS2/MTD upgrade to latest in CVS.

David Woodhouse dwmw2 at infradead.org
Mon Jul 2 04:35:29 EDT 2001


vipin.malik at daniel.com said:
> > > jffs2_scan_empty(): Empty block at 0x00000000 ends at 0x00000000 (with 0x00031985)! Marking dirty 

> > Does reverting to an older version of scan.c fix this?
> >         cvs up -r 1.46 scan.c

> Yes!

Nicolas - should I just revert to 1.46? Is there anything in 1.48 you'd 
like to (fix and) keep?


----------------------------
revision 1.48
date: 2001/06/13 23:01:47;  author: nico;  state: Exp;  lines: +9 -3
OK... We can't be sure that empty blocks are actually fully erased.  Queue them
for erase again. (sigh)
----------------------------
revision 1.47
date: 2001/06/13 20:44:16;  author: nico;  state: Exp;  lines: +21 -7
If flash does not contain any JFFS2 node, don't touch it as before.
If flash is entirely empty, then go ahead now.
This also speeds up mount on partially erased flash since completely empty
flash blocks aren't erased unnecessarily.

--
dwmw2






More information about the linux-mtd mailing list