mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-24 12:44:11 +08:00
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);
|
||||
}
|
||||
|
||||
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…
Reference in New Issue
Block a user