mtd/fs/jffs2 gc.c,1.139,1.140

Artem Bityuckiy dedekind at infradead.org
Sat Nov 13 05:59:24 EST 2004


Update of /home/cvs/mtd/fs/jffs2
In directory phoenix.infradead.org:/tmp/cvs-serv14995

Modified Files:
	gc.c 
Log Message:
Add the forgotten node_ref free call in case of error.


Index: gc.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/gc.c,v
retrieving revision 1.139
retrieving revision 1.140
diff -u -r1.139 -r1.140
--- gc.c	13 Nov 2004 10:44:26 -0000	1.139
+++ gc.c	13 Nov 2004 10:59:22 -0000	1.140
@@ -628,6 +628,7 @@
 			jffs2_free_raw_node_ref(nraw);
 		}
 
+		jffs2_free_raw_node_ref(nraw);
 		if (!ret)
 			ret = -EIO;
 		goto out_node;





More information about the linux-mtd-cvs mailing list