mtd/include/linux jffs2_fs_sb.h,1.53,1.54
Artem Bityutskiy
dedekind at infradead.org
Wed Sep 21 09:37:37 EDT 2005
Update of /home/cvs/mtd/include/linux
In directory phoenix.infradead.org:/tmp/cvs-serv8417
Modified Files:
jffs2_fs_sb.h
Log Message:
[JFFS2] bugfix: make JFFS2 working and compiling when write buffer is disabled
in the configuration.
Index: jffs2_fs_sb.h
===================================================================
RCS file: /home/cvs/mtd/include/linux/jffs2_fs_sb.h,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -r1.53 -r1.54
--- jffs2_fs_sb.h 7 Sep 2005 08:34:56 -0000 1.53
+++ jffs2_fs_sb.h 21 Sep 2005 13:37:34 -0000 1.54
@@ -95,12 +95,13 @@
to an obsoleted node. I don't like this. Alternatives welcomed. */
struct semaphore erase_free_sem;
+ uint32_t wbuf_pagesize; /* 0 for NOR and other flashes with no wbuf */
+
#ifdef CONFIG_JFFS2_FS_WRITEBUFFER
/* Write-behind buffer for NAND flash */
unsigned char *wbuf;
uint32_t wbuf_ofs;
uint32_t wbuf_len;
- uint32_t wbuf_pagesize;
struct jffs2_inodirty *wbuf_inodes;
struct rw_semaphore wbuf_sem; /* Protects the write buffer */
More information about the linux-mtd-cvs
mailing list