mtd/include/linux jffs2_fs_sb.h,1.45,1.46

jwboyer at infradead.org jwboyer at infradead.org
Wed Nov 3 07:57:43 EST 2004


Update of /home/cvs/mtd/include/linux
In directory phoenix.infradead.org:/tmp/cvs-serv19398/include/linux

Modified Files:
	jffs2_fs_sb.h 
Log Message:
Adding ECC'd NOR support to JFFS2.  Works with cfi_cmdset_0020.c

Signed-off-by: Josh Boyer <jdub at us.ibm.com>


Index: jffs2_fs_sb.h
===================================================================
RCS file: /home/cvs/mtd/include/linux/jffs2_fs_sb.h,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -r1.45 -r1.46
--- jffs2_fs_sb.h	8 Oct 2003 11:46:27 -0000	1.45
+++ jffs2_fs_sb.h	3 Nov 2004 12:57:39 -0000	1.46
@@ -95,7 +95,7 @@
 	   to an obsoleted node. I don't like this. Alternatives welcomed. */
 	struct semaphore erase_free_sem;
 
-#ifdef CONFIG_JFFS2_FS_NAND
+#if defined CONFIG_JFFS2_FS_NAND || defined CONFIG_JFFS2_FS_NOR_ECC
 	/* Write-behind buffer for NAND flash */
 	unsigned char *wbuf;
 	uint32_t wbuf_ofs;





More information about the linux-mtd-cvs mailing list