convert get_sb_mtd() users to ->mount()

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro 2010-07-25 00:56:46 +04:00
parent 152a083666
commit 848b83a59b
4 changed files with 36 additions and 49 deletions

View file

@ -18,10 +18,9 @@
#include <linux/fs.h>
#include <linux/mount.h>
extern int get_sb_mtd(struct file_system_type *fs_type, int flags,
extern struct dentry *mount_mtd(struct file_system_type *fs_type, int flags,
const char *dev_name, void *data,
int (*fill_super)(struct super_block *, void *, int),
struct vfsmount *mnt);
int (*fill_super)(struct super_block *, void *, int));
extern void kill_mtd_super(struct super_block *sb);