Commit e628753b authored by Joe Perches's avatar Joe Perches Committed by Jan Kara

quota: 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 avatarJan Kara <jack@suse.cz>
parent 3df32196
...@@ -2585,7 +2585,7 @@ static int do_proc_dqstats(struct ctl_table *table, int write, ...@@ -2585,7 +2585,7 @@ static int do_proc_dqstats(struct ctl_table *table, int write,
return proc_dointvec(table, write, buffer, lenp, ppos); return proc_dointvec(table, write, buffer, lenp, ppos);
} }
static ctl_table fs_dqstats_table[] = { static struct ctl_table fs_dqstats_table[] = {
{ {
.procname = "lookups", .procname = "lookups",
.data = &dqstats.stat[DQST_LOOKUPS], .data = &dqstats.stat[DQST_LOOKUPS],
...@@ -2654,7 +2654,7 @@ static ctl_table fs_dqstats_table[] = { ...@@ -2654,7 +2654,7 @@ static ctl_table fs_dqstats_table[] = {
{ }, { },
}; };
static ctl_table fs_table[] = { static struct ctl_table fs_table[] = {
{ {
.procname = "quota", .procname = "quota",
.mode = 0555, .mode = 0555,
...@@ -2663,7 +2663,7 @@ static ctl_table fs_table[] = { ...@@ -2663,7 +2663,7 @@ static ctl_table fs_table[] = {
{ }, { },
}; };
static ctl_table sys_table[] = { static struct ctl_table sys_table[] = {
{ {
.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