mtd/fs/jffs2 erase.c,1.64,1.65

Artem Bityuckiy dedekind at infradead.org
Sat Nov 13 05:51:50 EST 2004


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

Modified Files:
	erase.c 
Log Message:
Use kvec instead of iovec structure to pass to the
jffs2_flash_direct_writev() function.


Index: erase.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/erase.c,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -r1.64 -r1.65
--- erase.c	12 Nov 2004 15:25:14 -0000	1.64
+++ erase.c	13 Nov 2004 10:51:47 -0000	1.65
@@ -387,7 +387,7 @@
 		jeb->dirty_size = 0;
 		jeb->wasted_size = 0;
 	} else {
-		struct iovec vecs[1];
+		struct kvec vecs[1];
 		struct jffs2_unknown_node marker = {
 			.magic =	cpu_to_je16(JFFS2_MAGIC_BITMASK),
 			.nodetype =	cpu_to_je16(JFFS2_NODETYPE_CLEANMARKER),





More information about the linux-mtd-cvs mailing list