patch-2.4.0-prerelease linux/fs/ncpfs/symlink.c

Next file: linux/fs/nfs/Makefile
Previous file: linux/fs/ncpfs/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test12/linux/fs/ncpfs/symlink.c linux/fs/ncpfs/symlink.c
@@ -45,7 +45,7 @@
 
 static int ncp_symlink_readpage(struct file *file, struct page *page)
 {
-	struct inode *inode = (struct inode*)page->mapping->host;
+	struct inode *inode = page->mapping->host;
 	int error, length, len, cnt;
 	char *link;
 	char *buf = kmap(page);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)