X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Fautofs%2Finit.c;h=cea5219b4f377ba00b3deb95f58455986764d676;hb=97bf2856c6014879bd04983a3e9dfcdac1e7fe85;hp=b977ece69f0c2893897c9e58a143a833f44f5341;hpb=76828883507a47dae78837ab5dec5a5b4513c667;p=linux-2.6.git diff --git a/fs/autofs/init.c b/fs/autofs/init.c index b977ece69..cea5219b4 100644 --- a/fs/autofs/init.c +++ b/fs/autofs/init.c @@ -14,17 +14,17 @@ #include #include "autofs_i.h" -static struct super_block *autofs_get_sb(struct file_system_type *fs_type, - int flags, const char *dev_name, void *data) +static int autofs_get_sb(struct file_system_type *fs_type, + int flags, const char *dev_name, void *data, struct vfsmount *mnt) { - return get_sb_nodev(fs_type, flags, data, autofs_fill_super); + return get_sb_nodev(fs_type, flags, data, autofs_fill_super, mnt); } static struct file_system_type autofs_fs_type = { .owner = THIS_MODULE, .name = "autofs", .get_sb = autofs_get_sb, - .kill_sb = kill_anon_super, + .kill_sb = autofs_kill_sb, }; static int __init init_autofs_fs(void)