提交 54bf586e 编写于 作者: A Al Viro

autofs: set things up *before* registering fs type

it's not a serious race, but we really want misc device before anybody
gets to mount this sucker.
Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 ca7068c4
......@@ -31,11 +31,11 @@ static int __init init_autofs4_fs(void)
{
int err;
autofs_dev_ioctl_init();
err = register_filesystem(&autofs_fs_type);
if (err)
return err;
autofs_dev_ioctl_init();
autofs_dev_ioctl_exit();
return err;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册