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>
This commit is contained in:
parent
3df3219651
commit
e628753bf9
@ -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[] = {
|
|||||||
{ },
|
{ },
|
||||||
};
|
};
|
||||||
|
|
||||||
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[] = {
|
|||||||
{ },
|
{ },
|
||||||
};
|
};
|
||||||
|
|
||||||
static ctl_table sys_table[] = {
|
static struct ctl_table sys_table[] = {
|
||||||
{
|
{
|
||||||
.procname = "fs",
|
.procname = "fs",
|
||||||
.mode = 0555,
|
.mode = 0555,
|
||||||
|
Loading…
Reference in New Issue
Block a user