]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
nfs: convert use of typedef ctl_table to struct ctl_table
authorJoe Perches <joe@perches.com>
Sat, 17 May 2014 13:19:18 +0000 (23:19 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 19 May 2014 07:34:55 +0000 (17:34 +1000)
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>
fs/nfs/nfs4sysctl.c
fs/nfs/sysctl.c

index 2628d921b7e3c2d0b668332fd9052e870083df09..b6ebe7e445f63d34c5bb1d8cc6ef587867cc6813 100644 (file)
@@ -16,7 +16,7 @@ static const int nfs_set_port_min = 0;
 static const int nfs_set_port_max = 65535;
 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",
                .data = &nfs_callback_set_tcpport,
@@ -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",
                .mode = 0555,
@@ -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",
                .mode = 0555,
index 6b3f2535a3ec7ae5c840696956288c41dac84021..bb6ed810fa6f35d46c9f1f5ff87e392e2f539644 100644 (file)
@@ -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,