Skip to content

Commit

Permalink
fscache: convert use of typedef ctl_table to struct ctl_table
Browse files Browse the repository at this point in the history
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
JoePerches authored and torvalds committed Jun 6, 2014
1 parent a88bbbe commit 75a3294
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fs/fscache/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -87,7 +87,7 @@ ctl_table fscache_sysctls[] = {
{}
};

ctl_table fscache_sysctls_root[] = {
struct ctl_table fscache_sysctls_root[] = {
{
.procname = "fscache",
.mode = 0555,
Expand Down

0 comments on commit 75a3294

Please sign in to comment.