Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Fabian Frederick and committed by
Linus Torvalds
3e584064 bab5e2d6

+2 -2
+2 -2
fs/fscache/main.c
··· 67 67 return ret; 68 68 } 69 69 70 - struct ctl_table fscache_sysctls[] = { 70 + static struct ctl_table fscache_sysctls[] = { 71 71 { 72 72 .procname = "object_max_active", 73 73 .data = &fscache_object_max_active, ··· 87 87 {} 88 88 }; 89 89 90 - struct ctl_table fscache_sysctls_root[] = { 90 + static struct ctl_table fscache_sysctls_root[] = { 91 91 { 92 92 .procname = "fscache", 93 93 .mode = 0555,