Skip to content

Commit

Permalink
quota: Convert use of typedef ctl_table to struct ctl_table
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Joe Perches authored and Jan Kara committed Jul 4, 2013
1 parent 3df3219 commit e628753
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fs/quota/dquot.c
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand Down Expand Up @@ -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,
Expand All @@ -2663,7 +2663,7 @@ static ctl_table fs_table[] = {
{ },
};

static ctl_table sys_table[] = {
static struct ctl_table sys_table[] = {
{
.procname = "fs",
.mode = 0555,
Expand Down

0 comments on commit e628753

Please sign in to comment.