patch-2.4.0-test11 linux/fs/efs/symlink.c

Next file: linux/fs/exec.c
Previous file: linux/fs/efs/dir.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test10/linux/fs/efs/symlink.c linux/fs/efs/symlink.c
@@ -13,7 +13,7 @@
 
 static int efs_symlink_readpage(struct file *file, struct page *page)
 {
-	char *link = (char*)kmap(page);
+	char *link = kmap(page);
 	struct buffer_head * bh;
 	struct inode * inode = (struct inode*)page->mapping->host;
 	efs_block_t size = inode->i_size;

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