patch-2.3.99-pre1 linux/fs/minix/inode.c

Next file: linux/fs/msdos/msdosfs_syms.c
Previous file: linux/fs/isofs/inode.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.51/linux/fs/minix/inode.c linux/fs/minix/inode.c
@@ -1267,22 +1267,17 @@
 
 static DECLARE_FSTYPE_DEV(minix_fs_type,"minix",minix_read_super);
 
-int __init init_minix_fs(void)
+static int __init init_minix_fs(void)
 {
         return register_filesystem(&minix_fs_type);
 }
 
-#ifdef MODULE
-EXPORT_NO_SYMBOLS;
-
-int init_module(void)
+static void __exit exit_minix_fs(void)
 {
-	return init_minix_fs();
+        unregister_filesystem(&minix_fs_type);
 }
 
-void cleanup_module(void)
-{
-	unregister_filesystem(&minix_fs_type);
-}
+EXPORT_NO_SYMBOLS;
 
-#endif
+module_init(init_minix_fs)
+module_exit(exit_minix_fs)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)