mtd/fs/jffs2 wbuf.c,1.59,1.60

gleixner at infradead.org gleixner at infradead.org
Sun Mar 28 14:58:30 EST 2004


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

Modified Files:
	wbuf.c 
Log Message:
Replace constant with value temporary, before using block_bad function

Index: wbuf.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/wbuf.c,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -r1.59 -r1.60
--- wbuf.c	16 Mar 2004 16:19:33 -0000	1.59
+++ wbuf.c	28 Mar 2004 19:58:27 -0000	1.60
@@ -1120,7 +1120,7 @@
 			c->fsdata_pos = NAND_JFFS2_OOB16_FSDAPOS;
 			c->fsdata_len = NAND_JFFS2_OOB16_FSDALEN;
 		}
-		c->badblock_pos = NAND_BADBLOCK_POS;
+		c->badblock_pos = 5;
 		break;
 
 	case MTD_ECC_RS_DiskOnChip:




More information about the linux-mtd-cvs mailing list