patch-2.3.99-pre1 linux/fs/msdos/msdosfs_syms.c
Next file: linux/fs/msdos/namei.c
Previous file: linux/fs/minix/inode.c
Back to the patch index
Back to the overall index
- Lines: 21
- Date:
Mon Mar 13 12:35:39 2000
- Orig file:
v2.3.51/linux/fs/msdos/msdosfs_syms.c
- Orig date:
Fri Mar 10 16:40:47 2000
diff -u --recursive --new-file v2.3.51/linux/fs/msdos/msdosfs_syms.c linux/fs/msdos/msdosfs_syms.c
@@ -26,10 +26,17 @@
EXPORT_SYMBOL(msdos_read_super);
EXPORT_SYMBOL(msdos_put_super);
+static DECLARE_FSTYPE_DEV(msdos_fs_type, "msdos", msdos_read_super);
-DECLARE_FSTYPE_DEV(msdos_fs_type, "msdos", msdos_read_super);
-
-int __init init_msdos_fs(void)
+static int __init init_msdos_fs(void)
{
return register_filesystem(&msdos_fs_type);
}
+
+static void __exit exit_msdos_fs(void)
+{
+ unregister_filesystem(&msdos_fs_type);
+}
+
+module_init(init_msdos_fs)
+module_exit(exit_msdos_fs)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)