]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
fscache: convert use of typedef ctl_table to struct ctl_table
authorJoe Perches <joe@perches.com>
Thu, 22 May 2014 00:54:26 +0000 (10:54 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 30 May 2014 06:58:35 +0000 (16:58 +1000)
This typedef is unnecessary and should just be removed.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/fscache/main.c

index acd4bf1fc2779a43fece1e33e94fa5865106e6d1..63f868e869b98e86dafd1637f380382a96c66aef 100644 (file)
@@ -67,7 +67,7 @@ static int fscache_max_active_sysctl(struct ctl_table *table, int write,
        return ret;
 }
 
-ctl_table fscache_sysctls[] = {
+struct ctl_table fscache_sysctls[] = {
        {
                .procname       = "object_max_active",
                .data           = &fscache_object_max_active,
@@ -87,7 +87,7 @@ ctl_table fscache_sysctls[] = {
        {}
 };
 
-ctl_table fscache_sysctls_root[] = {
+struct ctl_table fscache_sysctls_root[] = {
        {
                .procname       = "fscache",
                .mode           = 0555,