diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2010-07-24 16:56:46 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2010-10-29 04:16:26 -0400 |
commit | 848b83a59b772b8f102bc5e3f1187c2fa5676959 (patch) | |
tree | d09a3755252e73f4bef000ffafbc0e9fd72d1a38 /fs/jffs2 | |
parent | 152a08366671080f27b32e0c411ad620c5f88b57 (diff) |
convert get_sb_mtd() users to ->mount()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/jffs2')
-rw-r--r-- | fs/jffs2/super.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/fs/jffs2/super.c b/fs/jffs2/super.c index d1ae5dfc22b9..c86041b866a4 100644 --- a/fs/jffs2/super.c +++ b/fs/jffs2/super.c | |||
@@ -179,12 +179,11 @@ static int jffs2_fill_super(struct super_block *sb, void *data, int silent) | |||
179 | return ret; | 179 | return ret; |
180 | } | 180 | } |
181 | 181 | ||
182 | static int jffs2_get_sb(struct file_system_type *fs_type, | 182 | static struct dentry *jffs2_mount(struct file_system_type *fs_type, |
183 | int flags, const char *dev_name, | 183 | int flags, const char *dev_name, |
184 | void *data, struct vfsmount *mnt) | 184 | void *data) |
185 | { | 185 | { |
186 | return get_sb_mtd(fs_type, flags, dev_name, data, jffs2_fill_super, | 186 | return mount_mtd(fs_type, flags, dev_name, data, jffs2_fill_super); |
187 | mnt); | ||
188 | } | 187 | } |
189 | 188 | ||
190 | static void jffs2_put_super (struct super_block *sb) | 189 | static void jffs2_put_super (struct super_block *sb) |
@@ -229,7 +228,7 @@ static void jffs2_kill_sb(struct super_block *sb) | |||
229 | static struct file_system_type jffs2_fs_type = { | 228 | static struct file_system_type jffs2_fs_type = { |
230 | .owner = THIS_MODULE, | 229 | .owner = THIS_MODULE, |
231 | .name = "jffs2", | 230 | .name = "jffs2", |
232 | .get_sb = jffs2_get_sb, | 231 | .mount = jffs2_mount, |
233 | .kill_sb = jffs2_kill_sb, | 232 | .kill_sb = jffs2_kill_sb, |
234 | }; | 233 | }; |
235 | 234 | ||