patch-2.4.0-prerelease linux/fs/cramfs/inode.c

Next file: linux/fs/devfs/Makefile
Previous file: linux/fs/cramfs/inflate/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test12/linux/fs/cramfs/inode.c linux/fs/cramfs/inode.c
@@ -306,7 +306,7 @@
 
 static int cramfs_readpage(struct file *file, struct page * page)
 {
-	struct inode *inode = (struct inode*)page->mapping->host;
+	struct inode *inode = page->mapping->host;
 	u32 maxblock, bytes_filled;
 
 	maxblock = (inode->i_size + PAGE_CACHE_SIZE - 1) >> PAGE_CACHE_SHIFT;

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