mtd/fs/jffs2 file.c,1.73,1.74

David Woodhouse dwmw2 at infradead.org
Tue Jul 23 08:58:55 EDT 2002


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

Modified Files:
	file.c 
Log Message:
locking function name changes from 2.5.

Index: file.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/file.c,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -r1.73 -r1.74
--- file.c	15 Jul 2002 10:49:33 -0000	1.73
+++ file.c	23 Jul 2002 12:58:53 -0000	1.74
@@ -251,7 +251,7 @@
 int jffs2_do_readpage_unlock(struct inode *inode, struct page *pg)
 {
 	int ret = jffs2_do_readpage_nolock(inode, pg);
-	UnlockPage(pg);
+	unlock_page(pg);
 	return ret;
 }
 
@@ -341,7 +341,7 @@
 	
 
 	/* Read in the page if it wasn't already present */
-	if (!Page_Uptodate(pg) && (start || end < PAGE_SIZE))
+	if (!PageUptodate(pg) && (start || end < PAGE_SIZE))
 		ret = jffs2_do_readpage_nolock(inode, pg);
 	D1(printk(KERN_DEBUG "end prepare_write()\n"));
 	up(&f->sem);





More information about the linux-mtd-cvs mailing list