summaryrefslogtreecommitdiffstats
path: root/fs/ncpfs
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-05-12 21:05:59 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-05-12 21:05:59 +0000
commitba2dacab305c598cd4c34a604f8e276bf5bab5ff (patch)
tree78670a0139bf4d5ace617b29b7eba82bbc74d602 /fs/ncpfs
parentb77bf69998121e689c5e86cc5630d39a0a9ee6ca (diff)
Merge with Linux 2.3.99-pre7 and various other bits.
Diffstat (limited to 'fs/ncpfs')
-rw-r--r--fs/ncpfs/symlink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ncpfs/symlink.c b/fs/ncpfs/symlink.c
index b0bc34b22..46925eb6d 100644
--- a/fs/ncpfs/symlink.c
+++ b/fs/ncpfs/symlink.c
@@ -43,9 +43,9 @@ int ncp_create_new(struct inode *dir, struct dentry *dentry,
/* ----- read a symbolic link ------------------------------------------ */
-static int ncp_symlink_readpage(struct dentry *dentry, struct page *page)
+static int ncp_symlink_readpage(struct file *file, struct page *page)
{
- struct inode *inode=dentry->d_inode;
+ struct inode *inode = (struct inode*)page->mapping->host;
int error, length, len, cnt;
char *link;
char *buf = (char*)kmap(page);