mtd/fs/jffs2 dir.c,1.82,1.83

havasi at infradead.org havasi at infradead.org
Tue Oct 19 03:48:48 EDT 2004


Update of /home/cvs/mtd/fs/jffs2
In directory phoenix.infradead.org:/home/havasi/mtd/fs/jffs2

Modified Files:
	dir.c 
Log Message:
Artem Bityuckiy's fix for double free in case of jffs2_do_create returns 
error.




Index: dir.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/dir.c,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -r1.82 -r1.83
--- dir.c	11 Oct 2003 11:47:23 -0000	1.82
+++ dir.c	19 Oct 2004 07:48:44 -0000	1.83
@@ -217,7 +217,6 @@
 			      dentry->d_name.name, dentry->d_name.len);
 
 	if (ret) {
-		jffs2_clear_inode(inode);
 		make_bad_inode(inode);
 		iput(inode);
 		jffs2_free_raw_inode(ri);





More information about the linux-mtd-cvs mailing list