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

Next file: linux/fs/smbfs/Makefile
Previous file: linux/fs/romfs/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test12/linux/fs/romfs/inode.c linux/fs/romfs/inode.c
@@ -395,7 +395,7 @@
 static int
 romfs_readpage(struct file *file, struct page * page)
 {
-	struct inode *inode = (struct inode*)page->mapping->host;
+	struct inode *inode = page->mapping->host;
 	unsigned long offset, avail, readlen;
 	void *buf;
 	int result = -EIO;

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