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 | |
parent | 848b83a59b772b8f102bc5e3f1187c2fa5676959 (diff) |
convert get_sb_single() users
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/platforms/cell/spufs/inode.c | 10 | ||||
-rw-r--r-- | arch/s390/hypfs/inode.c | 8 |
2 files changed, 9 insertions, 9 deletions
diff --git a/arch/powerpc/platforms/cell/spufs/inode.c b/arch/powerpc/platforms/cell/spufs/inode.c index 5dec408d6703..3532b92de983 100644 --- a/arch/powerpc/platforms/cell/spufs/inode.c +++ b/arch/powerpc/platforms/cell/spufs/inode.c | |||
@@ -798,17 +798,17 @@ spufs_fill_super(struct super_block *sb, void *data, int silent) | |||
798 | return spufs_create_root(sb, data); | 798 | return spufs_create_root(sb, data); |
799 | } | 799 | } |
800 | 800 | ||
801 | static int | 801 | static struct dentry * |
802 | spufs_get_sb(struct file_system_type *fstype, int flags, | 802 | spufs_mount(struct file_system_type *fstype, int flags, |
803 | const char *name, void *data, struct vfsmount *mnt) | 803 | const char *name, void *data) |
804 | { | 804 | { |
805 | return get_sb_single(fstype, flags, data, spufs_fill_super, mnt); | 805 | return mount_single(fstype, flags, data, spufs_fill_super); |
806 | } | 806 | } |
807 | 807 | ||
808 | static struct file_system_type spufs_type = { | 808 | static struct file_system_type spufs_type = { |
809 | .owner = THIS_MODULE, | 809 | .owner = THIS_MODULE, |
810 | .name = "spufs", | 810 | .name = "spufs", |
811 | .get_sb = spufs_get_sb, | 811 | .mount = spufs_mount, |
812 | .kill_sb = kill_litter_super, | 812 | .kill_sb = kill_litter_super, |
813 | }; | 813 | }; |
814 | 814 | ||
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 | ||