mtd/fs/jffs2 wbuf.c,1.70,1.71

gleixner at infradead.org gleixner at infradead.org
Mon Aug 23 12:25:10 EDT 2004


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

Modified Files:
	wbuf.c 
Log Message:
read the length info

Index: wbuf.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/wbuf.c,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -r1.70 -r1.71
--- wbuf.c	13 Jul 2004 08:58:25 -0000	1.70
+++ wbuf.c	23 Aug 2004 16:25:08 -0000	1.71
@@ -1047,7 +1047,7 @@
 	if (oinfo && oinfo->useecc == MTD_NANDECC_AUTOPLACE) {
 		D1(printk(KERN_DEBUG "JFFS2 using autoplace on NAND\n"));
 		/* Get the position of the free bytes */
-		if (!oinfo->oobfree[0][0]) {
+		if (!oinfo->oobfree[0][1]) {
 			printk (KERN_WARNING "jffs2_nand_set_oobinfo(): Eeep. Autoplacement selected and no empty space in oob\n");
 			return -ENOSPC;
 		}





More information about the linux-mtd-cvs mailing list