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 /drivers/usb/gadget/inode.c | |
parent | 848b83a59b772b8f102bc5e3f1187c2fa5676959 (diff) |
convert get_sb_single() users
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/usb/gadget/inode.c')
-rw-r--r-- | drivers/usb/gadget/inode.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/usb/gadget/inode.c b/drivers/usb/gadget/inode.c index ba145e7fbe03..3ed73f49cf18 100644 --- a/drivers/usb/gadget/inode.c +++ b/drivers/usb/gadget/inode.c | |||
@@ -2097,11 +2097,11 @@ enomem0: | |||
2097 | } | 2097 | } |
2098 | 2098 | ||
2099 | /* "mount -t gadgetfs path /dev/gadget" ends up here */ | 2099 | /* "mount -t gadgetfs path /dev/gadget" ends up here */ |
2100 | static int | 2100 | static struct dentry * |
2101 | gadgetfs_get_sb (struct file_system_type *t, int flags, | 2101 | gadgetfs_mount (struct file_system_type *t, int flags, |
2102 | const char *path, void *opts, struct vfsmount *mnt) | 2102 | const char *path, void *opts) |
2103 | { | 2103 | { |
2104 | return get_sb_single (t, flags, opts, gadgetfs_fill_super, mnt); | 2104 | return mount_single (t, flags, opts, gadgetfs_fill_super); |
2105 | } | 2105 | } |
2106 | 2106 | ||
2107 | static void | 2107 | static void |
@@ -2119,7 +2119,7 @@ gadgetfs_kill_sb (struct super_block *sb) | |||
2119 | static struct file_system_type gadgetfs_type = { | 2119 | static struct file_system_type gadgetfs_type = { |
2120 | .owner = THIS_MODULE, | 2120 | .owner = THIS_MODULE, |
2121 | .name = shortname, | 2121 | .name = shortname, |
2122 | .get_sb = gadgetfs_get_sb, | 2122 | .mount = gadgetfs_mount, |
2123 | .kill_sb = gadgetfs_kill_sb, | 2123 | .kill_sb = gadgetfs_kill_sb, |
2124 | }; | 2124 | }; |
2125 | 2125 | ||