patch-2.3.99-pre1 linux/fs/affs/super.c
Next file: linux/fs/bfs/inode.c
Previous file: linux/fs/adfs/dir.c
Back to the patch index
Back to the overall index
- Lines: 31
- Date:
Mon Mar 13 12:35:39 2000
- Orig file:
v2.3.51/linux/fs/affs/super.c
- Orig date:
Fri Mar 10 16:40:46 2000
diff -u --recursive --new-file v2.3.51/linux/fs/affs/super.c linux/fs/affs/super.c
@@ -672,24 +672,17 @@
static DECLARE_FSTYPE_DEV(affs_fs_type, "affs", affs_read_super);
-int __init init_affs_fs(void)
+static int __init init_affs_fs(void)
{
return register_filesystem(&affs_fs_type);
}
-#ifdef MODULE
-EXPORT_NO_SYMBOLS;
-
-int
-init_module(void)
-{
- return register_filesystem(&affs_fs_type);
-}
-
-void
-cleanup_module(void)
+static void __exit exit_affs_fs(void)
{
unregister_filesystem(&affs_fs_type);
}
-#endif
+EXPORT_NO_SYMBOLS;
+
+module_init(init_affs_fs)
+module_exit(exit_affs_fs)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)