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