summaryrefslogtreecommitdiffstats
path: root/fs/nfs/sysctl.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2014-06-06 14:38:03 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2014-06-06 16:08:16 -0700
commitf5102e5630d61a992d18a0250cae6e2c85856b8d (patch)
tree3a0fe40da1490bf62c366bb871aaf842519ac3ea /fs/nfs/sysctl.c
parent7ac9fe571d96a3c5b19d9374cf5c4e445a8690df (diff)
downloadop-kernel-dev-f5102e5630d61a992d18a0250cae6e2c85856b8d.zip
op-kernel-dev-f5102e5630d61a992d18a0250cae6e2c85856b8d.tar.gz
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>
Diffstat (limited to 'fs/nfs/sysctl.c')
-rw-r--r--fs/nfs/sysctl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/nfs/sysctl.c b/fs/nfs/sysctl.c
index 6b3f253..bb6ed81 100644
--- a/fs/nfs/sysctl.c
+++ b/fs/nfs/sysctl.c
@@ -13,7 +13,7 @@
static struct ctl_table_header *nfs_callback_sysctl_table;
-static ctl_table nfs_cb_sysctls[] = {
+static struct ctl_table nfs_cb_sysctls[] = {
{
.procname = "nfs_mountpoint_timeout",
.data = &nfs_mountpoint_expiry_timeout,
@@ -31,7 +31,7 @@ static ctl_table nfs_cb_sysctls[] = {
{ }
};
-static ctl_table nfs_cb_sysctl_dir[] = {
+static struct ctl_table nfs_cb_sysctl_dir[] = {
{
.procname = "nfs",
.mode = 0555,
@@ -40,7 +40,7 @@ static ctl_table nfs_cb_sysctl_dir[] = {
{ }
};
-static ctl_table nfs_cb_sysctl_root[] = {
+static struct ctl_table nfs_cb_sysctl_root[] = {
{
.procname = "fs",
.mode = 0555,
OpenPOWER on IntegriCloud