]> rtime.felk.cvut.cz Git - linux-imx.git/commitdiff
quota: Convert use of typedef ctl_table to struct ctl_table
authorJoe Perches <joe@perches.com>
Fri, 14 Jun 2013 02:37:49 +0000 (19:37 -0700)
committerJan Kara <jack@suse.cz>
Thu, 4 Jul 2013 17:22:55 +0000 (19:22 +0200)
This typedef is unnecessary and should just be removed.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/quota/dquot.c

index 3e64169ef52710ff11f9c7f8c44ee3c910cbd321..fbad622841f904ebd471ae0668f03018309a076e 100644 (file)
@@ -2585,7 +2585,7 @@ static int do_proc_dqstats(struct ctl_table *table, int write,
        return proc_dointvec(table, write, buffer, lenp, ppos);
 }
 
-static ctl_table fs_dqstats_table[] = {
+static struct ctl_table fs_dqstats_table[] = {
        {
                .procname       = "lookups",
                .data           = &dqstats.stat[DQST_LOOKUPS],
@@ -2654,7 +2654,7 @@ static ctl_table fs_dqstats_table[] = {
        { },
 };
 
-static ctl_table fs_table[] = {
+static struct ctl_table fs_table[] = {
        {
                .procname       = "quota",
                .mode           = 0555,
@@ -2663,7 +2663,7 @@ static ctl_table fs_table[] = {
        { },
 };
 
-static ctl_table sys_table[] = {
+static struct ctl_table sys_table[] = {
        {
                .procname       = "fs",
                .mode           = 0555,