mtd/fs/jffs2 fs.c,1.18,1.19

David Woodhouse dwmw2 at infradead.org
Tue Nov 12 04:53:42 EST 2002


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

Modified Files:
	fs.c 
Log Message:
more 2.5 workqueue compat

Index: fs.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/fs.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- fs.c	8 Oct 2002 17:02:17 -0000	1.18
+++ fs.c	12 Nov 2002 09:53:40 -0000	1.19
@@ -293,9 +293,10 @@
 		if (!c->wbuf)
 			return -ENOMEM;
 
-		/* Initialize process for timed wbuf flush */
-		INIT_TQUEUE(&c->wbuf_task,(void*) jffs2_wbuf_process, (void *)c);
-		/* Initialize timer for timed wbuf flush */
+		/* Initialise process for timed wbuf flush */
+		INIT_WORK(&c->wbuf_task,(void*) jffs2_wbuf_process, (void *)c);
+
+		/* Initialise timer for timed wbuf flush */
 		init_timer(&c->wbuf_timer);
 		c->wbuf_timer.function = jffs2_wbuf_timeout;
 		c->wbuf_timer.data = (unsigned long) c;





More information about the linux-mtd-cvs mailing list