Compilation errors with latest CVS code

Andrew Lunn <[email protected]> Tue, 20 Sep 2005 23:14:27 +0200
Newsgroups gmane.linux.file-systems.jffs
Message-ID <[email protected]>
Hi folks

Im using the MTD CVS trunk from today along with Linux 2.6.13.  I'm
not using NAND flash, NOR flash with transparent ECC or DataFlash, so
i disabled JFFS2_FS_WRITEBUFFER. The compilation the fails:


  CC      fs/jffs2/compr.o
  CC      fs/jffs2/dir.o
  CC      fs/jffs2/file.o
fs/jffs2/file.c: In function 'jffs2_fsync':
fs/jffs2/file.c:39: warning: statement with no effect
  CC      fs/jffs2/ioctl.o
  CC      fs/jffs2/nodelist.o
fs/jffs2/nodelist.c: In function 'check_node_data':
fs/jffs2/nodelist.c:415: error: 'struct jffs2_sb_info' has no member named 'wbuf_pagesize'
fs/jffs2/nodelist.c:417: error: 'struct jffs2_sb_info' has no member named 'wbuf_pagesize'
make[2]: *** [fs/jffs2/nodelist.o] Error 1
make[1]: *** [fs/jffs2] Error 2

wbuf_pagesize only exists when JFFS2_FS_WRITEBUFFER is enabled, but it
is incorrectly used unconditionally in a few places like above.

Any chance of fixing this?

        Thanks
                Andrew

To unsubscribe from this list: send the line "unsubscribe jffs-dev" in
the body of a message to [email protected]