diff options
author | Joe Perches <joe@perches.com> | 2014-06-06 17:38:03 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-06 19:08:16 -0400 |
commit | f5102e5630d61a992d18a0250cae6e2c85856b8d (patch) | |
tree | 3a0fe40da1490bf62c366bb871aaf842519ac3ea | |
parent | 7ac9fe571d96a3c5b19d9374cf5c4e445a8690df (diff) |
nfs: 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>
-rw-r--r-- | fs/nfs/nfs4sysctl.c | 6 | ||||
-rw-r--r-- | fs/nfs/sysctl.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/fs/nfs/nfs4sysctl.c b/fs/nfs/nfs4sysctl.c index 2628d921b7e3..b6ebe7e445f6 100644 --- a/fs/nfs/nfs4sysctl.c +++ b/fs/nfs/nfs4sysctl.c | |||
@@ -16,7 +16,7 @@ static const int nfs_set_port_min = 0; | |||
16 | static const int nfs_set_port_max = 65535; | 16 | static const int nfs_set_port_max = 65535; |
17 | static struct ctl_table_header *nfs4_callback_sysctl_table; | 17 | static struct ctl_table_header *nfs4_callback_sysctl_table; |
18 | 18 | ||
19 | static ctl_table nfs4_cb_sysctls[] = { | 19 | static struct ctl_table nfs4_cb_sysctls[] = { |
20 | { | 20 | { |
21 | .procname = "nfs_callback_tcpport", | 21 | .procname = "nfs_callback_tcpport", |
22 | .data = &nfs_callback_set_tcpport, | 22 | .data = &nfs_callback_set_tcpport, |
@@ -36,7 +36,7 @@ static ctl_table nfs4_cb_sysctls[] = { | |||
36 | { } | 36 | { } |
37 | }; | 37 | }; |
38 | 38 | ||
39 | static ctl_table nfs4_cb_sysctl_dir[] = { | 39 | static struct ctl_table nfs4_cb_sysctl_dir[] = { |
40 | { | 40 | { |
41 | .procname = "nfs", | 41 | .procname = "nfs", |
42 | .mode = 0555, | 42 | .mode = 0555, |
@@ -45,7 +45,7 @@ static ctl_table nfs4_cb_sysctl_dir[] = { | |||
45 | { } | 45 | { } |
46 | }; | 46 | }; |
47 | 47 | ||
48 | static ctl_table nfs4_cb_sysctl_root[] = { | 48 | static struct ctl_table nfs4_cb_sysctl_root[] = { |
49 | { | 49 | { |
50 | .procname = "fs", | 50 | .procname = "fs", |
51 | .mode = 0555, | 51 | .mode = 0555, |
diff --git a/fs/nfs/sysctl.c b/fs/nfs/sysctl.c index 6b3f2535a3ec..bb6ed810fa6f 100644 --- a/fs/nfs/sysctl.c +++ b/fs/nfs/sysctl.c | |||
@@ -13,7 +13,7 @@ | |||
13 | 13 | ||
14 | static struct ctl_table_header *nfs_callback_sysctl_table; | 14 | static struct ctl_table_header *nfs_callback_sysctl_table; |
15 | 15 | ||
16 | static ctl_table nfs_cb_sysctls[] = { | 16 | static struct ctl_table nfs_cb_sysctls[] = { |
17 | { | 17 | { |
18 | .procname = "nfs_mountpoint_timeout", | 18 | .procname = "nfs_mountpoint_timeout", |
19 | .data = &nfs_mountpoint_expiry_timeout, | 19 | .data = &nfs_mountpoint_expiry_timeout, |
@@ -31,7 +31,7 @@ static ctl_table nfs_cb_sysctls[] = { | |||
31 | { } | 31 | { } |
32 | }; | 32 | }; |
33 | 33 | ||
34 | static ctl_table nfs_cb_sysctl_dir[] = { | 34 | static struct ctl_table nfs_cb_sysctl_dir[] = { |
35 | { | 35 | { |
36 | .procname = "nfs", | 36 | .procname = "nfs", |
37 | .mode = 0555, | 37 | .mode = 0555, |
@@ -40,7 +40,7 @@ static ctl_table nfs_cb_sysctl_dir[] = { | |||
40 | { } | 40 | { } |
41 | }; | 41 | }; |
42 | 42 | ||
43 | static ctl_table nfs_cb_sysctl_root[] = { | 43 | static struct ctl_table nfs_cb_sysctl_root[] = { |
44 | { | 44 | { |
45 | .procname = "fs", | 45 | .procname = "fs", |
46 | .mode = 0555, | 46 | .mode = 0555, |