mtd/fs/jffs2 file.c,1.58.2.5,1.58.2.6
David Woodhouse
dwmw2 at infradead.org
Tue Nov 12 08:17:04 EST 2002
Update of /home/cvs/mtd/fs/jffs2
In directory phoenix.infradead.org:/tmp/cvs-serv5719
Modified Files:
Tag: jffs2-2_4-branch
file.c
Log Message:
Remove never-reached BUG() code.
Index: file.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/file.c,v
retrieving revision 1.58.2.5
retrieving revision 1.58.2.6
diff -u -r1.58.2.5 -r1.58.2.6
--- file.c 8 Nov 2002 22:34:22 -0000 1.58.2.5
+++ file.c 12 Nov 2002 13:17:01 -0000 1.58.2.6
@@ -297,11 +297,7 @@
offset += readlen;
frag = frag->next;
D2(printk(KERN_DEBUG "node read was OK. Looping\n"));
- continue;
}
- /* We can't ever get here. Unless I'm having a particularly stupid day */
- printk(KERN_CRIT "dwmw2 is stupid. Reason #5325\n");
- BUG();
}
D2(printk(KERN_DEBUG "readpage finishing\n"));
SetPageUptodate(pg);
More information about the linux-mtd-cvs
mailing list