mtd/fs/jffs2 gc.c,1.72,1.73
David Woodhouse
dwmw2 at infradead.org
Sun May 12 13:23:49 EDT 2002
Update of /home/cvs/mtd/fs/jffs2
In directory phoenix.infradead.org:/tmp/cvs-serv26194
Modified Files:
gc.c
Log Message:
Oops. The log message for the previous commit should have been:
Fix double free in jffs2_garbage_collect_hole(), where it would call
jffs2_add_full_dnode_to_inode() for the newly-written hole node, then
go ahead and free the old node itself, even though it would have been
freed already.
Index: gc.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/gc.c,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -r1.72 -r1.73
--- gc.c 12 May 2002 17:20:29 -0000 1.72
+++ gc.c 12 May 2002 17:23:46 -0000 1.73
@@ -628,7 +628,7 @@
* We should only get here in the case where the node we are
* replacing had more than one frag, so we kept the same version
* number as before. (Except in case of error -- see 'goto fill;'
- * above).
+ * above.)
*/
D1(if(unlikely(fn->frags <= 1)) {
printk(KERN_WARNING "jffs2_garbage_collect_hole: Replacing fn with %d frag(s) but new ver %d != highest_version %d of ino #%d\n",
More information about the linux-mtd-cvs
mailing list