patch-2.4.0-prerelease linux/fs/hpfs/namei.c

Next file: linux/fs/inode.c
Previous file: linux/fs/hpfs/file.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test12/linux/fs/hpfs/namei.c linux/fs/hpfs/namei.c
@@ -402,7 +402,7 @@
 int hpfs_symlink_readpage(struct file *file, struct page *page)
 {
 	char *link = kmap(page);
-	struct inode *i = (struct inode*)page->mapping->host;
+	struct inode *i = 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)