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
- Lines: 9
- Date:
Fri Dec 29 14:07:57 2000
- Orig file:
v2.4.0-test12/linux/fs/hfs/inode.c
- Orig date:
Mon Dec 11 17:59:45 2000
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)