mtd/fs/jffs2 nodemgmt.c,1.67,1.68
David Woodhouse
dwmw2 at infradead.org
Sun May 12 13:18:38 EDT 2002
Update of /home/cvs/mtd/fs/jffs2
In directory phoenix.infradead.org:/tmp/cvs-serv26050
Modified Files:
nodemgmt.c
Log Message:
Trigger erases when adding blocks to erase_pending_list in jffs2_do_reserve_space()
Index: nodemgmt.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/nodemgmt.c,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -r1.67 -r1.68
--- nodemgmt.c 10 May 2002 21:09:03 -0000 1.67
+++ nodemgmt.c 12 May 2002 17:18:36 -0000 1.68
@@ -186,6 +186,7 @@
list_del(&ejeb->list);
list_add_tail(&ejeb->list, &c->erase_pending_list);
c->nr_erasing_blocks++;
+ jffs2_erase_pending_trigger(c);
D1(printk(KERN_DEBUG "jffs2_do_reserve_space: Triggering erase of erasable block at 0x%08x\n",
ejeb->offset));
}
More information about the linux-mtd-cvs
mailing list