summaryrefslogtreecommitdiffstats
path: root/fs/smbfs
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-03-19 01:28:40 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-03-19 01:28:40 +0000
commit8abb719409c9060a7c0676f76e9182c1e0b8ca46 (patch)
treeb88cc5a6cd513a04a512b7e6215c873c90a1c5dd /fs/smbfs
parentf01bd7aeafd95a08aafc9e3636bb26974df69d82 (diff)
Merge with 2.3.99-pre1.
Diffstat (limited to 'fs/smbfs')
-rw-r--r--fs/smbfs/inode.c19
1 files changed, 6 insertions, 13 deletions
diff --git a/fs/smbfs/inode.c b/fs/smbfs/inode.c
index 94923fbad..cef1e93cf 100644
--- a/fs/smbfs/inode.c
+++ b/fs/smbfs/inode.c
@@ -536,16 +536,7 @@ int smb_current_vmalloced;
static DECLARE_FSTYPE( smb_fs_type, "smbfs", smb_read_super, 0);
-int __init init_smb_fs(void)
-{
- return register_filesystem(&smb_fs_type);
-}
-
-#ifdef MODULE
-EXPORT_NO_SYMBOLS;
-
-int
-init_module(void)
+static int __init init_smb_fs(void)
{
pr_debug("smbfs: init_module called\n");
@@ -558,8 +549,7 @@ init_module(void)
return init_smb_fs();
}
-void
-cleanup_module(void)
+static void __exit exit_smb_fs(void)
{
pr_debug("smbfs: cleanup_module called\n");
unregister_filesystem(&smb_fs_type);
@@ -570,4 +560,7 @@ cleanup_module(void)
#endif
}
-#endif
+EXPORT_NO_SYMBOLS;
+
+module_init(init_smb_fs)
+module_exit(exit_smb_fs)