import of upstream 2.4.34.4 from kernel.org
[linux-2.4.git] / fs / msdos / msdosfs_syms.c
1 /*
2  * linux/fs/msdos/msdosfs_syms.c
3  *
4  * Exported kernel symbols for the MS-DOS filesystem.
5  * These symbols are used by umsdos.
6  */
7
8 #include <linux/module.h>
9
10 #include <linux/mm.h>
11 #include <linux/msdos_fs.h>
12 #include <linux/init.h>
13
14 /*
15  * Support for umsdos fs
16  *
17  * These symbols are _always_ exported, in case someone
18  * wants to install the umsdos module later.
19  */
20 EXPORT_SYMBOL(msdos_create);
21 EXPORT_SYMBOL(msdos_lookup);
22 EXPORT_SYMBOL(msdos_mkdir);
23 EXPORT_SYMBOL(msdos_rename);
24 EXPORT_SYMBOL(msdos_rmdir);
25 EXPORT_SYMBOL(msdos_unlink);
26 EXPORT_SYMBOL(msdos_read_super);
27 EXPORT_SYMBOL(msdos_put_super);
28
29 static DECLARE_FSTYPE_DEV(msdos_fs_type, "msdos", msdos_read_super);
30
31 static int __init init_msdos_fs(void)
32 {
33         return register_filesystem(&msdos_fs_type);
34 }
35
36 static void __exit exit_msdos_fs(void)
37 {
38         unregister_filesystem(&msdos_fs_type);
39 }
40
41 module_init(init_msdos_fs)
42 module_exit(exit_msdos_fs)
43 MODULE_LICENSE("GPL");