提交 7ac9fe57 编写于 作者: J Joe Perches 提交者: Linus Torvalds

lockd: 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>
上级 75a3294e
......@@ -436,7 +436,7 @@ EXPORT_SYMBOL_GPL(lockd_down);
* Sysctl parameters (same as module parameters, different interface).
*/
static ctl_table nlm_sysctls[] = {
static struct ctl_table nlm_sysctls[] = {
{
.procname = "nlm_grace_period",
.data = &nlm_grace_period,
......@@ -490,7 +490,7 @@ static ctl_table nlm_sysctls[] = {
{ }
};
static ctl_table nlm_sysctl_dir[] = {
static struct ctl_table nlm_sysctl_dir[] = {
{
.procname = "nfs",
.mode = 0555,
......@@ -499,7 +499,7 @@ static ctl_table nlm_sysctl_dir[] = {
{ }
};
static ctl_table nlm_sysctl_root[] = {
static struct ctl_table nlm_sysctl_root[] = {
{
.procname = "fs",
.mode = 0555,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册