diff options
| author | Joe Perches <joe@perches.com> | 2014-06-06 17:38:02 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-06 19:08:16 -0400 |
| commit | 7ac9fe571d96a3c5b19d9374cf5c4e445a8690df (patch) | |
| tree | dd0762d212dfc6aba030d39a34f5835000d09a51 /fs/lockd | |
| parent | 75a3294ec51c091c6d848afd9c031ef31d436ae1 (diff) | |
lockd: 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>
Diffstat (limited to 'fs/lockd')
| -rw-r--r-- | fs/lockd/svc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/lockd/svc.c b/fs/lockd/svc.c index 6bf06a07f3e0..de051cb1f553 100644 --- a/fs/lockd/svc.c +++ b/fs/lockd/svc.c | |||
| @@ -436,7 +436,7 @@ EXPORT_SYMBOL_GPL(lockd_down); | |||
| 436 | * Sysctl parameters (same as module parameters, different interface). | 436 | * Sysctl parameters (same as module parameters, different interface). |
| 437 | */ | 437 | */ |
| 438 | 438 | ||
| 439 | static ctl_table nlm_sysctls[] = { | 439 | static struct ctl_table nlm_sysctls[] = { |
| 440 | { | 440 | { |
| 441 | .procname = "nlm_grace_period", | 441 | .procname = "nlm_grace_period", |
| 442 | .data = &nlm_grace_period, | 442 | .data = &nlm_grace_period, |
| @@ -490,7 +490,7 @@ static ctl_table nlm_sysctls[] = { | |||
| 490 | { } | 490 | { } |
| 491 | }; | 491 | }; |
| 492 | 492 | ||
| 493 | static ctl_table nlm_sysctl_dir[] = { | 493 | static struct ctl_table nlm_sysctl_dir[] = { |
| 494 | { | 494 | { |
| 495 | .procname = "nfs", | 495 | .procname = "nfs", |
| 496 | .mode = 0555, | 496 | .mode = 0555, |
| @@ -499,7 +499,7 @@ static ctl_table nlm_sysctl_dir[] = { | |||
| 499 | { } | 499 | { } |
| 500 | }; | 500 | }; |
| 501 | 501 | ||
| 502 | static ctl_table nlm_sysctl_root[] = { | 502 | static struct ctl_table nlm_sysctl_root[] = { |
| 503 | { | 503 | { |
| 504 | .procname = "fs", | 504 | .procname = "fs", |
| 505 | .mode = 0555, | 505 | .mode = 0555, |
