Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 54bf586e authored by Al Viro's avatar Al Viro
Browse files

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: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent ca7068c4
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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;
}