X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Fsysfs%2Fmount.c;fp=fs%2Fsysfs%2Fmount.c;h=ea01b08fb19356b52cc83507ba1fb0833978943f;hb=64ba3f394c830ec48a1c31b53dcae312c56f1604;hp=19662d00a265636bafaff5247bbd22efd4738812;hpb=be1e6109ac94a859551f8e1774eb9a8469fe055c;p=linux-2.6.git diff --git a/fs/sysfs/mount.c b/fs/sysfs/mount.c index 19662d00a..ea01b08fb 100644 --- a/fs/sysfs/mount.c +++ b/fs/sysfs/mount.c @@ -64,10 +64,10 @@ static int sysfs_fill_super(struct super_block *sb, void *data, int silent) return 0; } -static int sysfs_get_sb(struct file_system_type *fs_type, - int flags, const char *dev_name, void *data, struct vfsmount *mnt) +static struct super_block *sysfs_get_sb(struct file_system_type *fs_type, + int flags, const char *dev_name, void *data) { - return get_sb_single(fs_type, flags, data, sysfs_fill_super, mnt); + return get_sb_single(fs_type, flags, data, sysfs_fill_super); } static struct file_system_type sysfs_fs_type = {