mtd/fs/jffs2/ecos/src fs-ecos.c,1.31,1.32

David Woodhouse dwmw2 at infradead.org
Fri Nov 28 06:16:34 EST 2003


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

Modified Files:
	fs-ecos.c 
Log Message:
Don't lock whole file system on file I/O; only the file itself.


Index: fs-ecos.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/ecos/src/fs-ecos.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- fs-ecos.c	27 Nov 2003 14:46:52 -0000	1.31
+++ fs-ecos.c	28 Nov 2003 11:16:32 -0000	1.32
@@ -96,7 +96,7 @@
 
 #ifdef CYGOPT_FS_JFFS2_WRITE
 FSTAB_ENTRY(jffs2_fste, "jffs2", 0,
-	    CYG_SYNCMODE_FILE_FILESYSTEM | CYG_SYNCMODE_IO_FILESYSTEM,
+	    CYG_SYNCMODE_FILE_FILESYSTEM | CYG_SYNCMODE_IO_FILE,
 	    jffs2_mount,
 	    jffs2_umount,
 	    jffs2_open,
@@ -109,7 +109,7 @@
 	    jffs2_chdir, jffs2_stat, jffs2_getinfo, jffs2_setinfo);
 #else
 FSTAB_ENTRY(jffs2_fste, "jffs2", 0,
-	    CYG_SYNCMODE_FILE_FILESYSTEM | CYG_SYNCMODE_IO_FILESYSTEM,
+	    CYG_SYNCMODE_FILE_FILESYSTEM | CYG_SYNCMODE_IO_FILE,
 	    jffs2_mount,
 	    jffs2_umount,
 	    jffs2_open,




More information about the linux-mtd-cvs mailing list