Commit f5102e56 authored by Joe Perches's avatar Joe Perches Committed by Linus Torvalds

nfs: convert use of typedef ctl_table to struct ctl_table

This typedef is unnecessary and should just be removed.
Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 7ac9fe57
...@@ -16,7 +16,7 @@ static const int nfs_set_port_min = 0; ...@@ -16,7 +16,7 @@ static const int nfs_set_port_min = 0;
static const int nfs_set_port_max = 65535; static const int nfs_set_port_max = 65535;
static struct ctl_table_header *nfs4_callback_sysctl_table; static struct ctl_table_header *nfs4_callback_sysctl_table;
static ctl_table nfs4_cb_sysctls[] = { static struct ctl_table nfs4_cb_sysctls[] = {
{ {
.procname = "nfs_callback_tcpport", .procname = "nfs_callback_tcpport",
.data = &nfs_callback_set_tcpport, .data = &nfs_callback_set_tcpport,
...@@ -36,7 +36,7 @@ static ctl_table nfs4_cb_sysctls[] = { ...@@ -36,7 +36,7 @@ static ctl_table nfs4_cb_sysctls[] = {
{ } { }
}; };
static ctl_table nfs4_cb_sysctl_dir[] = { static struct ctl_table nfs4_cb_sysctl_dir[] = {
{ {
.procname = "nfs", .procname = "nfs",
.mode = 0555, .mode = 0555,
...@@ -45,7 +45,7 @@ static ctl_table nfs4_cb_sysctl_dir[] = { ...@@ -45,7 +45,7 @@ static ctl_table nfs4_cb_sysctl_dir[] = {
{ } { }
}; };
static ctl_table nfs4_cb_sysctl_root[] = { static struct ctl_table nfs4_cb_sysctl_root[] = {
{ {
.procname = "fs", .procname = "fs",
.mode = 0555, .mode = 0555,
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
static struct ctl_table_header *nfs_callback_sysctl_table; 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", .procname = "nfs_mountpoint_timeout",
.data = &nfs_mountpoint_expiry_timeout, .data = &nfs_mountpoint_expiry_timeout,
...@@ -31,7 +31,7 @@ static ctl_table nfs_cb_sysctls[] = { ...@@ -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", .procname = "nfs",
.mode = 0555, .mode = 0555,
...@@ -40,7 +40,7 @@ static ctl_table nfs_cb_sysctl_dir[] = { ...@@ -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", .procname = "fs",
.mode = 0555, .mode = 0555,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment