fscache: convert use of typedef ctl_table to struct ctl_table
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>
This commit is contained in:
parent
a88bbbeef6
commit
75a3294ec5
@ -67,7 +67,7 @@ static int fscache_max_active_sysctl(struct ctl_table *table, int write,
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
ctl_table fscache_sysctls[] = {
|
struct ctl_table fscache_sysctls[] = {
|
||||||
{
|
{
|
||||||
.procname = "object_max_active",
|
.procname = "object_max_active",
|
||||||
.data = &fscache_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",
|
.procname = "fscache",
|
||||||
.mode = 0555,
|
.mode = 0555,
|
||||||
|
Loading…
Reference in New Issue
Block a user