hc
2024-01-31 f70575805708cabdedea7498aaa3f710fde4d920
kernel/fs/autofs/init.c
....@@ -1,9 +1,6 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * Copyright 1997-1998 Transmeta Corporation -- All Rights Reserved
3
- *
4
- * This file is part of the Linux kernel and is made available under
5
- * the terms of the GNU General Public License, version 2, or at your
6
- * option, any later version, incorporated herein by reference.
74 */
85
96 #include <linux/module.h>
....@@ -16,7 +13,7 @@
1613 return mount_nodev(fs_type, flags, data, autofs_fill_super);
1714 }
1815
19
-static struct file_system_type autofs_fs_type = {
16
+struct file_system_type autofs_fs_type = {
2017 .owner = THIS_MODULE,
2118 .name = "autofs",
2219 .mount = autofs_mount,
....@@ -47,3 +44,4 @@
4744 module_init(init_autofs_fs)
4845 module_exit(exit_autofs_fs)
4946 MODULE_LICENSE("GPL");
47
+MODULE_IMPORT_NS(ANDROID_GKI_VFS_EXPORT_ONLY);