diff options
Diffstat (limited to 'fs/hppfs/hppfs.c')
-rw-r--r-- | fs/hppfs/hppfs.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/fs/hppfs/hppfs.c b/fs/hppfs/hppfs.c index 7b027720d820..f702b5f713fc 100644 --- a/fs/hppfs/hppfs.c +++ b/fs/hppfs/hppfs.c | |||
@@ -598,6 +598,7 @@ static const struct file_operations hppfs_dir_fops = { | |||
598 | .readdir = hppfs_readdir, | 598 | .readdir = hppfs_readdir, |
599 | .open = hppfs_dir_open, | 599 | .open = hppfs_dir_open, |
600 | .fsync = hppfs_fsync, | 600 | .fsync = hppfs_fsync, |
601 | .llseek = default_llseek, | ||
601 | }; | 602 | }; |
602 | 603 | ||
603 | static int hppfs_statfs(struct dentry *dentry, struct kstatfs *sf) | 604 | static int hppfs_statfs(struct dentry *dentry, struct kstatfs *sf) |
@@ -747,17 +748,17 @@ static int hppfs_fill_super(struct super_block *sb, void *d, int silent) | |||
747 | return(err); | 748 | return(err); |
748 | } | 749 | } |
749 | 750 | ||
750 | static int hppfs_read_super(struct file_system_type *type, | 751 | static struct dentry *hppfs_read_super(struct file_system_type *type, |
751 | int flags, const char *dev_name, | 752 | int flags, const char *dev_name, |
752 | void *data, struct vfsmount *mnt) | 753 | void *data) |
753 | { | 754 | { |
754 | return get_sb_nodev(type, flags, data, hppfs_fill_super, mnt); | 755 | return mount_nodev(type, flags, data, hppfs_fill_super); |
755 | } | 756 | } |
756 | 757 | ||
757 | static struct file_system_type hppfs_type = { | 758 | static struct file_system_type hppfs_type = { |
758 | .owner = THIS_MODULE, | 759 | .owner = THIS_MODULE, |
759 | .name = "hppfs", | 760 | .name = "hppfs", |
760 | .get_sb = hppfs_read_super, | 761 | .mount = hppfs_read_super, |
761 | .kill_sb = kill_anon_super, | 762 | .kill_sb = kill_anon_super, |
762 | .fs_flags = 0, | 763 | .fs_flags = 0, |
763 | }; | 764 | }; |