patch-2.3.99-pre7 linux/fs/romfs/inode.c
Next file: linux/fs/smbfs/file.c
Previous file: linux/fs/ramfs/inode.c
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Mon May 8 14:26:13 2000
- Orig file:
v2.3.99-pre6/linux/fs/romfs/inode.c
- Orig date:
Wed Apr 26 16:34:09 2000
diff -u --recursive --new-file v2.3.99-pre6/linux/fs/romfs/inode.c linux/fs/romfs/inode.c
@@ -388,9 +388,9 @@
*/
static int
-romfs_readpage(struct dentry * dentry, struct page * page)
+romfs_readpage(struct file *file, struct page * page)
{
- struct inode *inode = dentry->d_inode;
+ struct inode *inode = (struct inode*)page->mapping->host;
unsigned long buf;
unsigned long offset, avail, readlen;
int result = -EIO;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)