Browse Source

quota: Convert use of typedef ctl_table to struct ctl_table

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>
master
Joe Perches 9 years ago
committed by Jan Kara
parent
commit
e628753bf9
  1. 6
      fs/quota/dquot.c

6
fs/quota/dquot.c

@ -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,

Loading…
Cancel
Save