2 * linux/fs/msdos/msdosfs_syms.c
4 * Exported kernel symbols for the MS-DOS filesystem.
5 * These symbols are used by umsdos.
8 #include <linux/module.h>
11 #include <linux/msdos_fs.h>
12 #include <linux/init.h>
15 * Support for umsdos fs
17 * These symbols are _always_ exported, in case someone
18 * wants to install the umsdos module later.
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
);
27 static struct super_block
*msdos_get_sb(struct file_system_type
*fs_type
,
28 int flags
, const char *dev_name
, void *data
)
30 return get_sb_bdev(fs_type
, flags
, dev_name
, data
, msdos_fill_super
);
33 static struct file_system_type msdos_fs_type
= {
36 .get_sb
= msdos_get_sb
,
37 .kill_sb
= kill_block_super
,
38 .fs_flags
= FS_REQUIRES_DEV
,
41 static int __init
init_msdos_fs(void)
43 return register_filesystem(&msdos_fs_type
);
46 static void __exit
exit_msdos_fs(void)
48 unregister_filesystem(&msdos_fs_type
);
51 module_init(init_msdos_fs
)
52 module_exit(exit_msdos_fs
)
53 MODULE_LICENSE("GPL");