patch-2.3.99-pre7 linux/fs/hpfs/namei.c
Next file: linux/fs/inode.c
Previous file: linux/fs/hpfs/hpfs_fn.h
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Mon May 8 14:24:10 2000
- Orig file:
v2.3.99-pre6/linux/fs/hpfs/namei.c
- Orig date:
Wed Apr 26 16:34:09 2000
diff -u --recursive --new-file v2.3.99-pre6/linux/fs/hpfs/namei.c linux/fs/hpfs/namei.c
@@ -393,10 +393,10 @@
return r == 2 ? -ENOSPC : r == 1 ? -EFSERROR : 0;
}
-int hpfs_symlink_readpage(struct dentry *dentry, struct page *page)
+int hpfs_symlink_readpage(struct file *file, struct page *page)
{
char *link = (char*)kmap(page);
- struct inode *i = dentry->d_inode;
+ struct inode *i = (struct inode*)page->mapping->host;
struct fnode *fnode;
struct buffer_head *bh;
int err;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)