diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2010-07-24 17:48:30 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2010-10-29 04:16:28 -0400 |
commit | fc14f2fef682df677d64a145256dbd263df2aa7b (patch) | |
tree | 74f6b939fbad959a43c04ec646cd0adc8af5f53a /arch/s390/hypfs | |
parent | 848b83a59b772b8f102bc5e3f1187c2fa5676959 (diff) |
convert get_sb_single() users
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/s390/hypfs')
-rw-r--r-- | arch/s390/hypfs/inode.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/s390/hypfs/inode.c b/arch/s390/hypfs/inode.c index 74d98670be27..47cc446dab8f 100644 --- a/arch/s390/hypfs/inode.c +++ b/arch/s390/hypfs/inode.c | |||
@@ -316,10 +316,10 @@ static int hypfs_fill_super(struct super_block *sb, void *data, int silent) | |||
316 | return 0; | 316 | return 0; |
317 | } | 317 | } |
318 | 318 | ||
319 | static int hypfs_get_super(struct file_system_type *fst, int flags, | 319 | static struct dentry *hypfs_mount(struct file_system_type *fst, int flags, |
320 | const char *devname, void *data, struct vfsmount *mnt) | 320 | const char *devname, void *data) |
321 | { | 321 | { |
322 | return get_sb_single(fst, flags, data, hypfs_fill_super, mnt); | 322 | return mount_single(fst, flags, data, hypfs_fill_super); |
323 | } | 323 | } |
324 | 324 | ||
325 | static void hypfs_kill_super(struct super_block *sb) | 325 | static void hypfs_kill_super(struct super_block *sb) |
@@ -455,7 +455,7 @@ static const struct file_operations hypfs_file_ops = { | |||
455 | static struct file_system_type hypfs_type = { | 455 | static struct file_system_type hypfs_type = { |
456 | .owner = THIS_MODULE, | 456 | .owner = THIS_MODULE, |
457 | .name = "s390_hypfs", | 457 | .name = "s390_hypfs", |
458 | .get_sb = hypfs_get_super, | 458 | .mount = hypfs_mount, |
459 | .kill_sb = hypfs_kill_super | 459 | .kill_sb = hypfs_kill_super |
460 | }; | 460 | }; |
461 | 461 | ||