mtd/fs/jffs2/ecos/src fs-ecos.c,1.34,1.35

David Woodhouse dwmw2 at infradead.org
Wed Mar 31 09:10:30 EST 2004


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

Modified Files:
	fs-ecos.c 
Log Message:
Missing byteswap on setting ri.isize in jffs2_fo_write()


Index: fs-ecos.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/ecos/src/fs-ecos.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- fs-ecos.c	31 Mar 2004 12:17:09 -0000	1.34
+++ fs-ecos.c	31 Mar 2004 14:10:28 -0000	1.35
@@ -1339,7 +1339,7 @@
 		if (err)
 			return -err;
 	}
-	ri.isize = inode->i_size;
+	ri.isize = cpu_to_je32(inode->i_size);
 
 	// Now loop over the iovecs until they are all done, or
 	// we get an error.




More information about the linux-mtd-cvs mailing list