diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-03-19 01:28:40 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-03-19 01:28:40 +0000 |
commit | 8abb719409c9060a7c0676f76e9182c1e0b8ca46 (patch) | |
tree | b88cc5a6cd513a04a512b7e6215c873c90a1c5dd /fs/hpfs/super.c | |
parent | f01bd7aeafd95a08aafc9e3636bb26974df69d82 (diff) |
Merge with 2.3.99-pre1.
Diffstat (limited to 'fs/hpfs/super.c')
-rw-r--r-- | fs/hpfs/super.c | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/fs/hpfs/super.c b/fs/hpfs/super.c index d29f6e574..04cd6428d 100644 --- a/fs/hpfs/super.c +++ b/fs/hpfs/super.c @@ -9,6 +9,7 @@ #include <linux/string.h> #include "hpfs_fn.h" #include <linux/module.h> +#include <linux/init.h> /* Mark the filesystem dirty, so that chkdsk checks it when os/2 booted */ @@ -557,26 +558,17 @@ bail0: DECLARE_FSTYPE_DEV(hpfs_fs_type, "hpfs", hpfs_read_super); -int init_hpfs_fs(void) +static int __init init_hpfs_fs(void) { return register_filesystem(&hpfs_fs_type); } -#ifdef MODULE - -/*int register_symtab_from(struct symbol_table *, long *);*/ - -int init_module(void) -{ - /*int status; - if (!(status = init_hpfs_fs())) register_symtab(NULL); - return status;*/ - return init_hpfs_fs(); -} - -void cleanup_module(void) +static void __exit exit_hpfs_fs(void) { unregister_filesystem(&hpfs_fs_type); } -#endif +EXPORT_NO_SYMBOLS; + +module_init(init_hpfs_fs) +module_exit(exit_hpfs_fs) |