summaryrefslogtreecommitdiffstats
path: root/fs/hpfs/file.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2001-01-10 17:17:53 +0000
committerRalf Baechle <ralf@linux-mips.org>2001-01-10 17:17:53 +0000
commitb2ad5f821b1381492d792ca10b1eb7a107b48f14 (patch)
tree954a648692e7da983db1d2470953705f6a729264 /fs/hpfs/file.c
parentc9c06167e7933d93a6e396174c68abf242294abb (diff)
Merge with Linux 2.4.0-prerelease. Big Makefile rewrite, test your
Makefiles.
Diffstat (limited to 'fs/hpfs/file.c')
-rw-r--r--fs/hpfs/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/hpfs/file.c b/fs/hpfs/file.c
index a9675ef54..4c0306815 100644
--- a/fs/hpfs/file.c
+++ b/fs/hpfs/file.c
@@ -104,7 +104,7 @@ static int hpfs_readpage(struct file *file, struct page *page)
static int hpfs_prepare_write(struct file *file, struct page *page, unsigned from, unsigned to)
{
return cont_prepare_write(page,from,to,hpfs_get_block,
- &((struct inode*)page->mapping->host)->u.hpfs_i.mmu_private);
+ &page->mapping->host->u.hpfs_i.mmu_private);
}
static int _hpfs_bmap(struct address_space *mapping, long block)
{