mtd/fs/jffs2 readinode.c,1.122,1.123

Artem Bityuckiy dedekind at infradead.org
Thu Jul 7 09:46:08 EDT 2005


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

Modified Files:
	readinode.c 
Log Message:
Undo the bogus commit.


Index: readinode.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/readinode.c,v
retrieving revision 1.122
retrieving revision 1.123
diff -u -r1.122 -r1.123
--- readinode.c	7 Jul 2005 13:24:43 -0000	1.122
+++ readinode.c	7 Jul 2005 13:46:04 -0000	1.123
@@ -169,10 +169,8 @@
 	newfrag->node->frags = 1;
 
 	ret = jffs2_add_frag_to_fragtree(c, &f->fragtree, newfrag);
-	if (unlikely(ret)) {
-		jffs2_free_node_frag(newfrag)
+	if (unlikely(ret))
 		return ret;
-	}
 
 	/* If we now share a page with other nodes, mark either previous
 	   or next node REF_NORMAL, as appropriate.  */





More information about the linux-mtd-cvs mailing list