share fill_super with vfs and remove local mount function. Signed-off-by: Fabian Frederick <f...@skynet.be> --- fs/affs/super.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/fs/affs/super.c b/fs/affs/super.c index ee8eca7..9f7bba9 100644 --- a/fs/affs/super.c +++ b/fs/affs/super.c @@ -588,12 +588,6 @@ affs_statfs(struct dentry *dentry, struct kstatfs *buf) return 0; } -static struct dentry *affs_mount(struct file_system_type *fs_type, - int flags, const char *dev_name, void *data) -{ - return mount_bdev(fs_type, flags, dev_name, data, affs_fill_super); -} - static void affs_kill_sb(struct super_block *sb) { struct affs_sb_info *sbi = AFFS_SB(sb); @@ -610,7 +604,7 @@ static void affs_kill_sb(struct super_block *sb) static struct file_system_type affs_fs_type = { .owner = THIS_MODULE, .name = "affs", - .mount = affs_mount, + .fill_super = affs_fill_super, .kill_sb = affs_kill_sb, .fs_flags = FS_REQUIRES_DEV, }; -- 1.9.3 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/