mtd/fs/jffs2/ecos/src os-ecos.h,1.25,1.26

Forrest Zhao forrest.zhao at intel.com
Fri Nov 4 03:06:29 EST 2005


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

Modified Files:
	os-ecos.h 
Log Message:
Clean marker is gone! This patch introduce Erase Block Header(EBH) to JFFS2. EBH resides at the beginning of each eraseb block and carries the meta data for that erase block. If you want to add new per-erase-block information, you may use EBH to make extension. Now we record the erase count of each erase block in EBH.
Also this patch modified the user-space utilities to make them accormodate to EBH.



Index: os-ecos.h
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/ecos/src/os-ecos.h,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- os-ecos.h	30 Jul 2005 15:25:46 -0000	1.25
+++ os-ecos.h	4 Nov 2005 08:06:26 -0000	1.26
@@ -199,7 +199,7 @@
 #ifndef CONFIG_JFFS2_FS_WRITEBUFFER
 #define SECTOR_ADDR(x) ( ((unsigned long)(x) & ~(c->sector_size-1)) )
 #define jffs2_can_mark_obsolete(c) (1)
-#define jffs2_cleanmarker_oob(c) (0)
+#define jffs2_ebh_oob(c) (0)
 #define jffs2_write_nand_cleanmarker(c,jeb) (-EIO)
 
 #define jffs2_flush_wbuf_pad(c) (c=c)





More information about the linux-mtd-cvs mailing list