summaryrefslogtreecommitdiffstats
path: root/fs/hpfs/inode.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-01-27 01:05:20 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-01-27 01:05:20 +0000
commit546db14ee74118296f425f3b91634fb767d67290 (patch)
tree22b613a3da8d4bf663eec5e155af01b87fdf9094 /fs/hpfs/inode.c
parent1e25e41c4f5474e14452094492dbc169b800e4c8 (diff)
Merge with Linux 2.3.23. The new bootmem stuff has broken various
platforms. At this time I've only verified that IP22 support compiles and IP27 actually works.
Diffstat (limited to 'fs/hpfs/inode.c')
-rw-r--r--fs/hpfs/inode.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/fs/hpfs/inode.c b/fs/hpfs/inode.c
index efc776218..d79e55814 100644
--- a/fs/hpfs/inode.c
+++ b/fs/hpfs/inode.c
@@ -41,11 +41,9 @@ static const struct inode_operations hpfs_file_iops =
NULL, /* rename */
NULL, /* readlink */
NULL, /* follow_link */
- (int (*)(struct inode *, int))
-#warning Someone needs to code up hpfs_get_block properly... -DaveM
- &hpfs_bmap, /* get_block */
+ &hpfs_get_block, /* get_block */
block_read_full_page, /* readpage */
- hpfs_writepage, /* writepage */
+ block_write_full_page, /* writepage */
block_flushpage, /* flushpage */
hpfs_truncate, /* truncate */
NULL, /* permission */
@@ -55,7 +53,7 @@ static const struct inode_operations hpfs_file_iops =
static const struct file_operations hpfs_dir_ops =
{
- NULL, /* lseek - default */
+ hpfs_dir_lseek, /* lseek */
hpfs_dir_read, /* read */
NULL, /* write - bad */
hpfs_readdir, /* readdir */