mtd/drivers/mtd mtd_blkdevs.c,1.22,1.23

tpoynor at infradead.org tpoynor at infradead.org
Wed Aug 18 21:54:39 EDT 2004


Update of /home/cvs/mtd/drivers/mtd
In directory phoenix.infradead.org:/tmp/cvs-serv4789/drivers/mtd

Modified Files:
	mtd_blkdevs.c 
Log Message:
mtdblockd doesn't respond to process freeze requests.  Set PF_NOFREEZE to
spare it from freeze attempts, allowing system suspend to proceed.


Index: mtd_blkdevs.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/mtd_blkdevs.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- mtd_blkdevs.c	12 Jul 2004 12:35:28 -0000	1.22
+++ mtd_blkdevs.c	19 Aug 2004 01:54:36 -0000	1.23
@@ -81,7 +81,7 @@
 	struct request_queue *rq = tr->blkcore_priv->rq;
 
 	/* we might get involved when memory gets low, so use PF_MEMALLOC */
-	current->flags |= PF_MEMALLOC;
+	current->flags |= PF_MEMALLOC | PF_NOFREEZE;
 
 	daemonize("%sd", tr->name);
 





More information about the linux-mtd-cvs mailing list