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

Next file: linux/fs/autofs/Makefile
Previous file: linux/fs/affs/file.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test12/linux/fs/affs/symlink.c linux/fs/affs/symlink.c
@@ -19,7 +19,7 @@
 static int affs_symlink_readpage(struct file *file, struct page *page)
 {
 	struct buffer_head *bh;
-	struct inode *inode = (struct inode*)page->mapping->host;
+	struct inode *inode = page->mapping->host;
 	char *link = kmap(page);
 	struct slink_front *lf;
 	int err;

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