X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Fconfigfs%2Fmount.c;fp=fs%2Fconfigfs%2Fmount.c;h=f920d30478e531a7a656548d9d9c7169a0cc99bf;hb=64ba3f394c830ec48a1c31b53dcae312c56f1604;hp=3e5fe843e1df7588564dad9f3d5140318c6b84b6;hpb=be1e6109ac94a859551f8e1774eb9a8469fe055c;p=linux-2.6.git diff --git a/fs/configfs/mount.c b/fs/configfs/mount.c index 3e5fe843e..f920d3047 100644 --- a/fs/configfs/mount.c +++ b/fs/configfs/mount.c @@ -103,10 +103,10 @@ static int configfs_fill_super(struct super_block *sb, void *data, int silent) return 0; } -static int configfs_get_sb(struct file_system_type *fs_type, - int flags, const char *dev_name, void *data, struct vfsmount *mnt) +static struct super_block *configfs_get_sb(struct file_system_type *fs_type, + int flags, const char *dev_name, void *data) { - return get_sb_single(fs_type, flags, data, configfs_fill_super, mnt); + return get_sb_single(fs_type, flags, data, configfs_fill_super); } static struct file_system_type configfs_fs_type = { @@ -118,7 +118,7 @@ static struct file_system_type configfs_fs_type = { int configfs_pin_fs(void) { - return simple_pin_fs(&configfs_fs_type, &configfs_mount, + return simple_pin_fs("configfs", &configfs_mount, &configfs_mnt_count); }