mtd/fs/jffs2 background.c,1.36,1.37

David Woodhouse dwmw2 at infradead.org
Fri May 16 21:08:53 EDT 2003


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

Modified Files:
	background.c 
Log Message:
more 2.5 chasing

Index: background.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/background.c,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- background.c	19 Feb 2003 17:50:26 -0000	1.36
+++ background.c	17 May 2003 01:08:50 -0000	1.37
@@ -81,13 +81,11 @@
 {
 	struct jffs2_sb_info *c = _c;
 
-	daemonize();
+	daemonize("jffs2_gcd_mtd%d", c->mtd->index);
 
 	c->gc_task = current;
 	up(&c->gc_thread_start);
 
-	sprintf(current->comm, "jffs2_gcd_mtd%d", c->mtd->index);
-
 	set_user_nice(current, 10);
 
 	for (;;) {
@@ -115,7 +113,7 @@
 			unsigned long signr;
 
 			spin_lock_irq(&current_sig_lock);
-			signr = dequeue_signal(&current->blocked, &info);
+			signr = dequeue_signal(current, &current->blocked, &info);
 			spin_unlock_irq(&current_sig_lock);
 
 			switch(signr) {




More information about the linux-mtd-cvs mailing list