mtd/fs/jffs2 scan.c,1.109,1.110

gleixner at infradead.org gleixner at infradead.org
Thu Jun 17 13:15:34 EDT 2004


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

Modified Files:
	scan.c 
Log Message:
remove redundant paranoia checks

Index: scan.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/scan.c,v
retrieving revision 1.109
retrieving revision 1.110
diff -u -r1.109 -r1.110
--- scan.c	19 Mar 2004 16:40:50 -0000	1.109
+++ scan.c	17 Jun 2004 17:15:31 -0000	1.110
@@ -337,8 +337,6 @@
 			switch (ret) {
 			case 0:		return cleanmarkerfound ? BLK_STATE_CLEANMARKER : BLK_STATE_ALLFF;
 			case 1: 	return BLK_STATE_ALLDIRTY;
-			case 2: 	return BLK_STATE_BADBLOCK; /* case 2/3 are paranoia checks */
-			case 3:		return BLK_STATE_ALLDIRTY; /* Block has failed to erase min. once */
 			default: 	return ret;
 			}
 		}





More information about the linux-mtd-cvs mailing list