mtd/fs/jffs2 scan.c,1.107,1.108

gleixner at infradead.org gleixner at infradead.org
Tue Mar 16 14:37:19 EST 2004


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

Modified Files:
	scan.c 
Log Message:
break endless empty flash ends at xxx loop

Index: scan.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/scan.c,v
retrieving revision 1.107
retrieving revision 1.108
diff -u -r1.107 -r1.108
--- scan.c	16 Mar 2004 15:52:22 -0000	1.107
+++ scan.c	16 Mar 2004 19:37:15 -0000	1.108
@@ -357,6 +357,7 @@
 
 	noise = 10;
 
+scan_more:	
 	while(ofs < jeb->offset + c->sector_size) {
 
 		D1(ACCT_PARANOIA_CHECK(jeb));
@@ -410,7 +411,7 @@
 					printk(KERN_WARNING "Empty flash at 0x%08x ends at 0x%08x\n",
 					       empty_start, ofs);
 					DIRTY_SPACE(ofs-empty_start);
-					continue;
+					goto scan_more;
 				}
 
 				inbuf_ofs+=4;




More information about the linux-mtd-cvs mailing list