[PATCH] JFFS[23] slab corruption

Artem B. Bityuckiy dedekind at infradead.org
Sun Feb 27 09:02:22 EST 2005


On Sun, 2005-02-27 at 10:30 +0000, David Woodhouse wrote:
> ic will have no nodes when they've all been actually removed or marked
> obsolete -- that's either in mark_node_obsolete() in the case of NOR
> flash, or somewhere in erase.c in the case of NAND.
> 
> Until all the nodes are actually gone, we mustn't re-use the old inode
> number for new inodes, so the ic has to stay in the list.
> 
Well, I don't quite well remember why I asked that.

Now your patch looks sane for me. I've tried it with both NAND and NOR
and haven't seen something bad.

-- 
Best Regards,
Artem B. Bityuckiy,
St.-Petersburg, Russia.





More information about the linux-mtd mailing list