X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Fautofs4%2Finit.c;h=acecec8578ce9e08d4e9998405ab4d74778d3be1;hb=9464c7cf61b9433057924c36e6e02f303a00e768;hp=723a1c5e361b2786c8f8ec97e9332b77b1484e15;hpb=41689045f6a3cbe0550e1d34e9cc20d2e8c432ba;p=linux-2.6.git diff --git a/fs/autofs4/init.c b/fs/autofs4/init.c index 723a1c5e3..acecec857 100644 --- a/fs/autofs4/init.c +++ b/fs/autofs4/init.c @@ -14,17 +14,17 @@ #include #include "autofs_i.h" -static int autofs_get_sb(struct file_system_type *fs_type, - int flags, const char *dev_name, void *data, struct vfsmount *mnt) +static struct super_block *autofs_get_sb(struct file_system_type *fs_type, + int flags, const char *dev_name, void *data) { - return get_sb_nodev(fs_type, flags, data, autofs4_fill_super, mnt); + return get_sb_nodev(fs_type, flags, data, autofs4_fill_super); } static struct file_system_type autofs_fs_type = { .owner = THIS_MODULE, .name = "autofs", .get_sb = autofs_get_sb, - .kill_sb = autofs4_kill_sb, + .kill_sb = kill_anon_super, }; static int __init init_autofs4_fs(void)