mtd/fs/jffs2 scan.c,1.74,1.75
David Woodhouse
dwmw2 at infradead.org
Fri May 10 20:07:49 EDT 2002
Update of /home/cvs/mtd/fs/jffs2
In directory phoenix.infradead.org:/tmp/cvs-serv4168
Modified Files:
scan.c
Log Message:
cond_resched() between scanning nodes
Index: scan.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/scan.c,v
retrieving revision 1.74
retrieving revision 1.75
diff -u -r1.74 -r1.75
--- scan.c 10 May 2002 21:09:03 -0000 1.74
+++ scan.c 11 May 2002 00:07:46 -0000 1.75
@@ -266,7 +266,9 @@
while(ofs < jeb->offset + c->sector_size) {
size_t retlen;
ACCT_PARANOIA_CHECK(jeb);
-
+
+ cond_resched();
+
if (ofs & 3) {
printk(KERN_WARNING "Eep. ofs 0x%08x not word-aligned!\n", ofs);
ofs = (ofs+3)&~3;
More information about the linux-mtd-cvs
mailing list