提交 75a3294e 编写于 作者: J Joe Perches 提交者: Linus Torvalds

fscache: convert use of typedef ctl_table to struct ctl_table

This typedef is unnecessary and should just be removed.
Signed-off-by: NJoe Perches <joe@perches.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 a88bbbee
...@@ -67,7 +67,7 @@ static int fscache_max_active_sysctl(struct ctl_table *table, int write, ...@@ -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[] = { ...@@ -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,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册