summaryrefslogtreecommitdiffstats
path: root/fs/lockd/svc.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2014-06-06 14:38:02 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2014-06-06 16:08:16 -0700
commit7ac9fe571d96a3c5b19d9374cf5c4e445a8690df (patch)
treedd0762d212dfc6aba030d39a34f5835000d09a51 /fs/lockd/svc.c
parent75a3294ec51c091c6d848afd9c031ef31d436ae1 (diff)
downloadlinux-stable-7ac9fe571d96a3c5b19d9374cf5c4e445a8690df.tar.gz
linux-stable-7ac9fe571d96a3c5b19d9374cf5c4e445a8690df.tar.bz2
linux-stable-7ac9fe571d96a3c5b19d9374cf5c4e445a8690df.zip
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/svc.c')
-rw-r--r--fs/lockd/svc.c6
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);
* 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,