diff options
author | Theodore Ts'o <tytso@mit.edu> | 2010-10-27 21:30:14 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2010-10-27 21:30:14 -0400 |
commit | 5dabfc78dcedbe46cb2e4872dde448de3cec2979 (patch) | |
tree | 804ef3e76289978ef6690c2b8f379a14a60b15f0 /fs/ext4/super.c | |
parent | 7f93cff90fa9be6ed45f6189e136153d1d8631b0 (diff) |
ext4: rename {exit,init}_ext4_*() to ext4_{exit,init}_*()
This is a cleanup to avoid namespace leaks out of fs/ext4
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/super.c')
-rw-r--r-- | fs/ext4/super.c | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c index c9e06c647ce8..94e60038e05d 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c | |||
@@ -4770,15 +4770,15 @@ out: | |||
4770 | return ret; | 4770 | return ret; |
4771 | } | 4771 | } |
4772 | 4772 | ||
4773 | static int __init init_ext4_fs(void) | 4773 | static int __init ext4_init_fs(void) |
4774 | { | 4774 | { |
4775 | int err; | 4775 | int err; |
4776 | 4776 | ||
4777 | ext4_check_flag_values(); | 4777 | ext4_check_flag_values(); |
4778 | err = init_ext4_pageio(); | 4778 | err = ext4_init_pageio(); |
4779 | if (err) | 4779 | if (err) |
4780 | return err; | 4780 | return err; |
4781 | err = init_ext4_system_zone(); | 4781 | err = ext4_init_system_zone(); |
4782 | if (err) | 4782 | if (err) |
4783 | goto out5; | 4783 | goto out5; |
4784 | ext4_kset = kset_create_and_add("ext4", NULL, fs_kobj); | 4784 | ext4_kset = kset_create_and_add("ext4", NULL, fs_kobj); |
@@ -4788,11 +4788,11 @@ static int __init init_ext4_fs(void) | |||
4788 | 4788 | ||
4789 | err = ext4_init_feat_adverts(); | 4789 | err = ext4_init_feat_adverts(); |
4790 | 4790 | ||
4791 | err = init_ext4_mballoc(); | 4791 | err = ext4_init_mballoc(); |
4792 | if (err) | 4792 | if (err) |
4793 | goto out3; | 4793 | goto out3; |
4794 | 4794 | ||
4795 | err = init_ext4_xattr(); | 4795 | err = ext4_init_xattr(); |
4796 | if (err) | 4796 | if (err) |
4797 | goto out2; | 4797 | goto out2; |
4798 | err = init_inodecache(); | 4798 | err = init_inodecache(); |
@@ -4812,37 +4812,37 @@ out: | |||
4812 | unregister_as_ext3(); | 4812 | unregister_as_ext3(); |
4813 | destroy_inodecache(); | 4813 | destroy_inodecache(); |
4814 | out1: | 4814 | out1: |
4815 | exit_ext4_xattr(); | 4815 | ext4_exit_xattr(); |
4816 | out2: | 4816 | out2: |
4817 | exit_ext4_mballoc(); | 4817 | ext4_exit_mballoc(); |
4818 | out3: | 4818 | out3: |
4819 | kfree(ext4_feat); | 4819 | kfree(ext4_feat); |
4820 | remove_proc_entry("fs/ext4", NULL); | 4820 | remove_proc_entry("fs/ext4", NULL); |
4821 | kset_unregister(ext4_kset); | 4821 | kset_unregister(ext4_kset); |
4822 | out4: | 4822 | out4: |
4823 | exit_ext4_system_zone(); | 4823 | ext4_exit_system_zone(); |
4824 | out5: | 4824 | out5: |
4825 | exit_ext4_pageio(); | 4825 | ext4_exit_pageio(); |
4826 | return err; | 4826 | return err; |
4827 | } | 4827 | } |
4828 | 4828 | ||
4829 | static void __exit exit_ext4_fs(void) | 4829 | static void __exit ext4_exit_fs(void) |
4830 | { | 4830 | { |
4831 | ext4_destroy_lazyinit_thread(); | 4831 | ext4_destroy_lazyinit_thread(); |
4832 | unregister_as_ext2(); | 4832 | unregister_as_ext2(); |
4833 | unregister_as_ext3(); | 4833 | unregister_as_ext3(); |
4834 | unregister_filesystem(&ext4_fs_type); | 4834 | unregister_filesystem(&ext4_fs_type); |
4835 | destroy_inodecache(); | 4835 | destroy_inodecache(); |
4836 | exit_ext4_xattr(); | 4836 | ext4_exit_xattr(); |
4837 | exit_ext4_mballoc(); | 4837 | ext4_exit_mballoc(); |
4838 | remove_proc_entry("fs/ext4", NULL); | 4838 | remove_proc_entry("fs/ext4", NULL); |
4839 | kset_unregister(ext4_kset); | 4839 | kset_unregister(ext4_kset); |
4840 | exit_ext4_system_zone(); | 4840 | ext4_exit_system_zone(); |
4841 | exit_ext4_pageio(); | 4841 | ext4_exit_pageio(); |
4842 | } | 4842 | } |
4843 | 4843 | ||
4844 | MODULE_AUTHOR("Remy Card, Stephen Tweedie, Andrew Morton, Andreas Dilger, Theodore Ts'o and others"); | 4844 | MODULE_AUTHOR("Remy Card, Stephen Tweedie, Andrew Morton, Andreas Dilger, Theodore Ts'o and others"); |
4845 | MODULE_DESCRIPTION("Fourth Extended Filesystem"); | 4845 | MODULE_DESCRIPTION("Fourth Extended Filesystem"); |
4846 | MODULE_LICENSE("GPL"); | 4846 | MODULE_LICENSE("GPL"); |
4847 | module_init(init_ext4_fs) | 4847 | module_init(ext4_init_fs) |
4848 | module_exit(exit_ext4_fs) | 4848 | module_exit(ext4_exit_fs) |