Commit 48fcc4cc authored by Andries E. Brouwer's avatar Andries E. Brouwer Committed by Linus Torvalds

[PATCH] sparse fix sysctl

parent 60d528f0
......@@ -81,7 +81,7 @@ extern int dirty_expire_centisecs;
struct ctl_table;
struct file;
int dirty_writeback_centisecs_handler(struct ctl_table *, int, struct file *,
void *, size_t *);
void __user *, size_t *);
void page_writeback_init(void);
void balance_dirty_pages(struct address_space *mapping);
......
......@@ -643,7 +643,7 @@ static ctl_table vm_table[] = {
.data = &dirty_writeback_centisecs,
.maxlen = sizeof(dirty_writeback_centisecs),
.mode = 0644,
.proc_handler = dirty_writeback_centisecs_handler,
.proc_handler = &dirty_writeback_centisecs_handler,
},
{
.ctl_name = VM_DIRTY_EXPIRE_CS,
......
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