JFFS2 eats memory

David Woodhouse dwmw2 at infradead.org
Tue Jul 20 09:45:20 EDT 2004


On Tue, 2004-07-20 at 08:41 +0200, Øyvind Harboe wrote:
> What if gc_node points to the last node?

Then you just finished garbage collecting the eraseblock in question.
You should have a single node which is now first_node and last_node, and
which is obsolete. You can just set gc_node to NULL.

-- 
dwmw2





More information about the linux-mtd mailing list