提交 3e584064 编写于 作者: F Fabian Frederick 提交者: Linus Torvalds

fs/fscache: make ctl_table static

fscache_sysctls and fscache_sysctls_root are only used in main.c
Signed-off-by: NFabian Frederick <fabf@skynet.be>
Cc: David Howells <dhowells@redhat.com>
Cc: Joe Perches <joe@perches.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 bab5e2d6
......@@ -67,7 +67,7 @@ static int fscache_max_active_sysctl(struct ctl_table *table, int write,
return ret;
}
struct ctl_table fscache_sysctls[] = {
static struct ctl_table fscache_sysctls[] = {
{
.procname = "object_max_active",
.data = &fscache_object_max_active,
......@@ -87,7 +87,7 @@ struct ctl_table fscache_sysctls[] = {
{}
};
struct ctl_table fscache_sysctls_root[] = {
static struct ctl_table fscache_sysctls_root[] = {
{
.procname = "fscache",
.mode = 0555,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册