printf: Remove unused 'bprintf'
[drm/drm-misc.git] / fs / autofs / init.c
blob1d644a35ffa08b0a1c5f8670f7f2811830548012
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /*
3 * Copyright 1997-1998 Transmeta Corporation -- All Rights Reserved
4 */
6 #include <linux/module.h>
7 #include <linux/init.h>
8 #include "autofs_i.h"
10 struct file_system_type autofs_fs_type = {
11 .owner = THIS_MODULE,
12 .name = "autofs",
13 .init_fs_context = autofs_init_fs_context,
14 .parameters = autofs_param_specs,
15 .kill_sb = autofs_kill_sb,
17 MODULE_ALIAS_FS("autofs");
18 MODULE_ALIAS("autofs");
20 static int __init init_autofs_fs(void)
22 int err;
24 autofs_dev_ioctl_init();
26 err = register_filesystem(&autofs_fs_type);
27 if (err)
28 autofs_dev_ioctl_exit();
30 return err;
33 static void __exit exit_autofs_fs(void)
35 autofs_dev_ioctl_exit();
36 unregister_filesystem(&autofs_fs_type);
39 module_init(init_autofs_fs)
40 module_exit(exit_autofs_fs)
41 MODULE_DESCRIPTION("Kernel automounter support");
42 MODULE_LICENSE("GPL");