diff options
author | Fabian Frederick <fabf@skynet.be> | 2014-08-06 19:03:24 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-08-06 21:01:12 -0400 |
commit | 3e584064840de14856451ea9ce443c5d4f7e31ff (patch) | |
tree | b830584ee046356cb23912365258d2c18802c5fa /fs/fscache | |
parent | bab5e2d6522bc3cb892c1e8aaafecab05bed9d85 (diff) |
fs/fscache: make ctl_table static
fscache_sysctls and fscache_sysctls_root are only used in main.c
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Cc: David Howells <dhowells@redhat.com>
Cc: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/fscache')
-rw-r--r-- | fs/fscache/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/fscache/main.c b/fs/fscache/main.c index a31b83c5cbd9..b39d487ccfb0 100644 --- a/fs/fscache/main.c +++ b/fs/fscache/main.c | |||
@@ -67,7 +67,7 @@ static int fscache_max_active_sysctl(struct ctl_table *table, int write, | |||
67 | return ret; | 67 | return ret; |
68 | } | 68 | } |
69 | 69 | ||
70 | struct ctl_table fscache_sysctls[] = { | 70 | static struct ctl_table fscache_sysctls[] = { |
71 | { | 71 | { |
72 | .procname = "object_max_active", | 72 | .procname = "object_max_active", |
73 | .data = &fscache_object_max_active, | 73 | .data = &fscache_object_max_active, |
@@ -87,7 +87,7 @@ struct ctl_table fscache_sysctls[] = { | |||
87 | {} | 87 | {} |
88 | }; | 88 | }; |
89 | 89 | ||
90 | struct ctl_table fscache_sysctls_root[] = { | 90 | static struct ctl_table fscache_sysctls_root[] = { |
91 | { | 91 | { |
92 | .procname = "fscache", | 92 | .procname = "fscache", |
93 | .mode = 0555, | 93 | .mode = 0555, |