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

David Woodhouse dwmw2 at infradead.org
Wed Jun 19 08:04:53 EDT 2002


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

Modified Files:
	erase.c 
Log Message:
cond_resched() when checking newly-erased blocks.


Index: erase.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/erase.c,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- erase.c	20 May 2002 14:56:38 -0000	1.36
+++ erase.c	19 Jun 2002 12:04:51 -0000	1.37
@@ -335,6 +335,7 @@
 					}
 				}
 				ofs += readlen;
+				cond_resched();
 			}
 			kfree(ebuf);
 		}





More information about the linux-mtd-cvs mailing list