]> git.baikalelectronics.ru Git - kernel.git/commitdiff
lockd: convert use of typedef ctl_table to struct ctl_table
authorJoe Perches <joe@perches.com>
Fri, 6 Jun 2014 21:38:02 +0000 (14:38 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 6 Jun 2014 23:08:16 +0000 (16:08 -0700)
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>
fs/lockd/svc.c

index 6bf06a07f3e00b56e3d738fd0cdd898521ec323f..de051cb1f553c41f21ed6a946fafccd9be15dce9 100644 (file)
@@ -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,