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

Next file: linux/fs/ramfs/Makefile
Previous file: linux/fs/qnx4/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test12/linux/fs/qnx4/inode.c linux/fs/qnx4/inode.c
@@ -426,7 +426,7 @@
 static int qnx4_prepare_write(struct file *file, struct page *page, unsigned from, unsigned to)
 {
 	return cont_prepare_write(page,from,to,qnx4_get_block,
-		&((struct inode*)page->mapping->host)->u.qnx4_i.mmu_private);
+		&page->mapping->host->u.qnx4_i.mmu_private);
 }
 static int qnx4_bmap(struct address_space *mapping, long block)
 {

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