mtd/fs/jffs2 file.c,1.100,1.101

gleixner at infradead.org gleixner at infradead.org
Fri May 20 11:26:49 EDT 2005


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

Modified Files:
	file.c 
Log Message:
Upstream sync. PAGE_BUG is not longer available

Index: file.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/file.c,v
retrieving revision 1.100
retrieving revision 1.101
diff -u -r1.100 -r1.101
--- file.c	17 Mar 2005 20:23:06 -0000	1.100
+++ file.c	20 May 2005 15:26:45 -0000	1.101
@@ -79,8 +79,7 @@
 
 	D2(printk(KERN_DEBUG "jffs2_do_readpage_nolock(): ino #%lu, page at offset 0x%lx\n", inode->i_ino, pg->index << PAGE_CACHE_SHIFT));
 
-	if (!PageLocked(pg))
-                PAGE_BUG(pg);
+	BUG_ON(!PageLocked(pg));
 
 	pg_buf = kmap(pg);
 	/* FIXME: Can kmap fail? */





More information about the linux-mtd-cvs mailing list