convert get_sb_single() users
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -316,10 +316,10 @@ static int hypfs_fill_super(struct super_block *sb, void *data, int silent)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int hypfs_get_super(struct file_system_type *fst, int flags,
|
||||
const char *devname, void *data, struct vfsmount *mnt)
|
||||
static struct dentry *hypfs_mount(struct file_system_type *fst, int flags,
|
||||
const char *devname, void *data)
|
||||
{
|
||||
return get_sb_single(fst, flags, data, hypfs_fill_super, mnt);
|
||||
return mount_single(fst, flags, data, hypfs_fill_super);
|
||||
}
|
||||
|
||||
static void hypfs_kill_super(struct super_block *sb)
|
||||
@@ -455,7 +455,7 @@ static const struct file_operations hypfs_file_ops = {
|
||||
static struct file_system_type hypfs_type = {
|
||||
.owner = THIS_MODULE,
|
||||
.name = "s390_hypfs",
|
||||
.get_sb = hypfs_get_super,
|
||||
.mount = hypfs_mount,
|
||||
.kill_sb = hypfs_kill_super
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user