patch-2.3.99-pre7 linux/fs/efs/symlink.c
Next file: linux/fs/exec.c
Previous file: linux/fs/efs/inode.c
Back to the patch index
Back to the overall index
- Lines: 14
- Date:
Mon May 8 14:23:23 2000
- Orig file:
v2.3.99-pre6/linux/fs/efs/symlink.c
- Orig date:
Thu Feb 10 17:11:16 2000
diff -u --recursive --new-file v2.3.99-pre6/linux/fs/efs/symlink.c linux/fs/efs/symlink.c
@@ -10,11 +10,11 @@
#include <linux/efs_fs.h>
#include <linux/pagemap.h>
-static int efs_symlink_readpage(struct dentry *dentry, struct page *page)
+static int efs_symlink_readpage(struct file *file, struct page *page)
{
char *link = (char*)kmap(page);
struct buffer_head * bh;
- struct inode * inode = dentry->d_inode;
+ struct inode * inode = (struct inode*)page->mapping->host;
efs_block_t size = inode->i_size;
int err;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)