mtd/fs/jffs2 wbuf.c,1.75,1.76
jwboyer at infradead.org
jwboyer at infradead.org
Fri Nov 5 07:41:14 EST 2004
Update of /home/cvs/mtd/fs/jffs2
In directory phoenix.infradead.org:/tmp/cvs-serv13483/fs/jffs2
Modified Files:
wbuf.c
Log Message:
Fixed compilation with NAND=y but NOR_ECC=n. Ferenc was right in the first
place. Perhaps my stupidity is a reason to remove these config options finally
Index: wbuf.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/wbuf.c,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -r1.75 -r1.76
--- wbuf.c 4 Nov 2004 22:10:28 -0000 1.75
+++ wbuf.c 5 Nov 2004 12:41:10 -0000 1.76
@@ -1135,6 +1135,7 @@
kfree(c->wbuf);
}
+#ifdef CONFIG_JFFS2_FS_NOR_ECC
int jffs2_nor_ecc_flash_setup(struct jffs2_sb_info *c) {
/* Cleanmarker is actually larger on the flashes */
c->cleanmarker_size = 16;
@@ -1153,3 +1154,4 @@
void jffs2_nor_ecc_flash_cleanup(struct jffs2_sb_info *c) {
kfree(c->wbuf);
}
+#endif
More information about the linux-mtd-cvs
mailing list