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

Next file: linux/fs/hpfs/Makefile
Previous file: linux/fs/hfs/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test12/linux/fs/hfs/inode.c linux/fs/hfs/inode.c
@@ -231,7 +231,7 @@
 static int hfs_prepare_write(struct file *file, struct page *page, unsigned from, unsigned to)
 {
 	return cont_prepare_write(page,from,to,hfs_get_block,
-		&((struct inode*)page->mapping->host)->u.hfs_i.mmu_private);
+		&page->mapping->host->u.hfs_i.mmu_private);
 }
 static int hfs_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)