patch-2.3.99-pre7 linux/fs/cramfs/inode.c
Next file: linux/fs/dcache.c
Previous file: linux/fs/coda/symlink.c
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Mon May 8 14:23:03 2000
- Orig file:
v2.3.99-pre6/linux/fs/cramfs/inode.c
- Orig date:
Mon Mar 27 08:08:29 2000
diff -u --recursive --new-file v2.3.99-pre6/linux/fs/cramfs/inode.c linux/fs/cramfs/inode.c
@@ -303,9 +303,9 @@
return NULL;
}
-static int cramfs_readpage(struct dentry *dentry, struct page * page)
+static int cramfs_readpage(struct file *file, struct page * page)
{
- struct inode *inode = dentry->d_inode;
+ struct inode *inode = (struct inode*)page->mapping->host;
u32 maxblock, bytes_filled;
maxblock = (inode->i_size + PAGE_CACHE_SIZE - 1) >> PAGE_CACHE_SHIFT;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)