mtd/include/linux jffs2_fs_sb.h,1.37,1.38

David Woodhouse dwmw2 at infradead.org
Mon Jun 30 06:58:59 EDT 2003


Update of /home/cvs/mtd/include/linux
In directory phoenix.infradead.org:/tmp/cvs-serv28580/include/linux

Modified Files:
	jffs2_fs_sb.h 
Log Message:
Slight NAND cleanup -- move setup/cleanup into wbuf.c, ifdef the 
NAND-only members of struct jffs2_sb_info; this makes 2.4-compat in the
no-nand case somewhat easier.


Index: jffs2_fs_sb.h
===================================================================
RCS file: /home/cvs/mtd/include/linux/jffs2_fs_sb.h,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -r1.37 -r1.38
--- jffs2_fs_sb.h	17 Jan 2003 16:04:44 -0000	1.37
+++ jffs2_fs_sb.h	30 Jun 2003 10:58:56 -0000	1.38
@@ -84,6 +84,7 @@
 	   to an obsoleted node. I don't like this. Alternatives welcomed. */
 	struct semaphore erase_free_sem;
 
+#ifdef CONFIG_JFFS2_FS_NAND
 	/* Write-behind buffer for NAND flash */
 	unsigned char *wbuf;
 	uint32_t wbuf_ofs;
@@ -91,6 +92,7 @@
 	uint32_t wbuf_pagesize;
 	struct work_struct wbuf_task;		/* task for timed wbuf flush */
 	struct timer_list wbuf_timer;		/* timer for flushing wbuf */
+#endif
 
 	/* OS-private pointer for getting back to master superblock info */
 	void *os_priv;




More information about the linux-mtd-cvs mailing list