aboutsummaryrefslogtreecommitdiff
path: root/fs/autofs4/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/autofs4/init.c')
-rw-r--r--fs/autofs4/init.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/fs/autofs4/init.c b/fs/autofs4/init.c
index c038727b405..b3db517e89e 100644
--- a/fs/autofs4/init.c
+++ b/fs/autofs4/init.c
@@ -26,16 +26,17 @@ static struct file_system_type autofs_fs_type = {
.mount = autofs_mount,
.kill_sb = autofs4_kill_sb,
};
+MODULE_ALIAS_FS("autofs");
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;
}