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

Next file: linux/fs/affs/Makefile
Previous file: linux/fs/adfs/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test12/linux/fs/adfs/inode.c linux/fs/adfs/inode.c
@@ -66,7 +66,7 @@
 static int adfs_prepare_write(struct file *file, struct page *page, unsigned int from, unsigned int to)
 {
 	return cont_prepare_write(page, from, to, adfs_get_block,
-		&((struct inode *)page->mapping->host)->u.adfs_i.mmu_private);
+		&page->mapping->host->u.adfs_i.mmu_private);
 }
 
 static int _adfs_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)