patch-2.1.89 linux/fs/romfs/inode.c
Next file: linux/fs/select.c
Previous file: linux/fs/readdir.c
Back to the patch index
Back to the overall index
-  Lines: 11
-  Date:
Sat Feb 28 13:31:07 1998
-  Orig file: 
v2.1.88/linux/fs/romfs/inode.c
-  Orig date: 
Mon Feb 23 18:12:10 1998
diff -u --recursive --new-file v2.1.88/linux/fs/romfs/inode.c linux/fs/romfs/inode.c
@@ -390,8 +390,9 @@
  */
 
 static int
-romfs_readpage(struct dentry * dentry, struct page * page)
+romfs_readpage(struct file * file, struct page * page)
 {
+	struct dentry *dentry = file->f_dentry;
 	struct inode *inode = dentry->d_inode;
 	unsigned long buf;
 	unsigned long offset, avail, readlen;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov