mtd/fs/jffs2 fs.c,1.41,1.42

David Woodhouse dwmw2 at infradead.org
Wed May 5 08:03:22 EDT 2004


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

Modified Files:
	fs.c 
Log Message:
initialise ret before we return it too


Index: fs.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/fs.c,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -r1.41 -r1.42
--- fs.c	5 May 2004 12:01:53 -0000	1.41
+++ fs.c	5 May 2004 12:03:20 -0000	1.42
@@ -624,7 +624,7 @@
 }
 
 int jffs2_flash_setup(struct jffs2_sb_info *c) {
-	int ret;
+	int ret = 0;
 	
 	if (jffs2_cleanmarker_oob(c)) {
 		/* NAND flash... do setup accordingly */




More information about the linux-mtd-cvs mailing list