mtd/fs/jffs2/ecos/src os-ecos.h,1.23,1.24

Andrew Victor pavlov at infradead.org
Wed Feb 9 04:23:57 EST 2005


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

Modified Files:
	os-ecos.h 
Log Message:
This patch replaces the current CONFIG_JFFS2_FS_NAND, CONFIG_JFFS2_FS_NOR_ECC
and CONFIG_JFFS2_FS_DATAFLASH with a single configuration option - 
CONFIG_JFFS2_FS_WRITEBUFFER.

The only functional change of this patch is that the slower div/mod
calculations for SECTOR_ADDR(), PAGE_DIV() and PAGE_MOD() are now always
used when CONFIG_JFFS2_FS_WRITEBUFFER is enabled.


Signed-off-by: Andrew Victor <andrew at sanpeople.com>



Index: os-ecos.h
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/ecos/src/os-ecos.h,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- os-ecos.h	22 Jan 2005 16:01:12 -0000	1.23
+++ os-ecos.h	9 Feb 2005 09:23:55 -0000	1.24
@@ -196,7 +196,7 @@
 static inline void jffs2_erase_pending_trigger(struct jffs2_sb_info *c)
 { }
 
-#ifndef CONFIG_JFFS2_FS_NAND
+#ifndef CONFIG_JFFS2_FS_WRITEBUFFER
 #define jffs2_can_mark_obsolete(c) (1)
 #define jffs2_cleanmarker_oob(c) (0)
 #define jffs2_write_nand_cleanmarker(c,jeb) (-EIO)





More information about the linux-mtd-cvs mailing list