diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-05-12 21:05:59 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-05-12 21:05:59 +0000 |
commit | ba2dacab305c598cd4c34a604f8e276bf5bab5ff (patch) | |
tree | 78670a0139bf4d5ace617b29b7eba82bbc74d602 /fs/ncpfs/symlink.c | |
parent | b77bf69998121e689c5e86cc5630d39a0a9ee6ca (diff) |
Merge with Linux 2.3.99-pre7 and various other bits.
Diffstat (limited to 'fs/ncpfs/symlink.c')
-rw-r--r-- | fs/ncpfs/symlink.c | 4 |
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); |