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/proc | |
parent | f01bd7aeafd95a08aafc9e3636bb26974df69d82 (diff) |
Merge with 2.3.99-pre1.
Diffstat (limited to 'fs/proc')
-rw-r--r-- | fs/proc/procfs_syms.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/fs/proc/procfs_syms.c b/fs/proc/procfs_syms.c index 0203b9776..097e83468 100644 --- a/fs/proc/procfs_syms.c +++ b/fs/proc/procfs_syms.c @@ -22,7 +22,15 @@ EXPORT_SYMBOL(proc_root_driver); static DECLARE_FSTYPE(proc_fs_type, "proc", proc_read_super, 0); -int __init init_proc_fs(void) +static int __init init_proc_fs(void) { - return register_filesystem(&proc_fs_type) == 0; + return register_filesystem(&proc_fs_type); } + +static void __exit exit_proc_fs(void) +{ + unregister_filesystem(&proc_fs_type); +} + +module_init(init_proc_fs) +module_exit(exit_proc_fs) |