summaryrefslogtreecommitdiffstats
path: root/fs/sysctls.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/sysctls.c')
-rw-r--r--fs/sysctls.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/sysctls.c b/fs/sysctls.c
index c701273c9432..76a0aee8c229 100644
--- a/fs/sysctls.c
+++ b/fs/sysctls.c
@@ -29,11 +29,10 @@ static struct ctl_table fs_shared_sysctls[] = {
{ }
};
-DECLARE_SYSCTL_BASE(fs, fs_shared_sysctls);
-
static int __init init_fs_sysctls(void)
{
- return register_sysctl_base(fs);
+ register_sysctl_init("fs", fs_shared_sysctls);
+ return 0;
}
early_initcall(init_fs_sysctls);