Commit 3ca28d64 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] parintk_ratelimit fix

From: Anton Blanchard <anton@samba.org>
parent 11a61205
...@@ -588,6 +588,7 @@ static ctl_table kern_table[] = { ...@@ -588,6 +588,7 @@ static ctl_table kern_table[] = {
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec_jiffies, .proc_handler = &proc_dointvec_jiffies,
.strategy = &sysctl_jiffies,
}, },
{ {
.ctl_name = KERN_PRINTK_RATELIMIT_BURST, .ctl_name = KERN_PRINTK_RATELIMIT_BURST,
...@@ -596,6 +597,7 @@ static ctl_table kern_table[] = { ...@@ -596,6 +597,7 @@ static ctl_table kern_table[] = {
.maxlen = sizeof(int), .maxlen = sizeof(int),
.mode = 0644, .mode = 0644,
.proc_handler = &proc_dointvec, .proc_handler = &proc_dointvec,
.strategy = &sysctl_jiffies,
}, },
{ .ctl_name = 0 } { .ctl_name = 0 }
}; };
......
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