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

dirty_writeback_centisecs_handler() cleanup

Repair indenting bustage.
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 97842216
...@@ -476,15 +476,13 @@ static void wb_kupdate(unsigned long arg) ...@@ -476,15 +476,13 @@ static void wb_kupdate(unsigned long arg)
* sysctl handler for /proc/sys/vm/dirty_writeback_centisecs * sysctl handler for /proc/sys/vm/dirty_writeback_centisecs
*/ */
int dirty_writeback_centisecs_handler(ctl_table *table, int write, int dirty_writeback_centisecs_handler(ctl_table *table, int write,
struct file *file, void __user *buffer, size_t *length, loff_t *ppos) struct file *file, void __user *buffer, size_t *length, loff_t *ppos)
{ {
proc_dointvec_userhz_jiffies(table, write, file, buffer, length, ppos); proc_dointvec_userhz_jiffies(table, write, file, buffer, length, ppos);
if (dirty_writeback_interval) { if (dirty_writeback_interval)
mod_timer(&wb_timer, mod_timer(&wb_timer, jiffies + dirty_writeback_interval);
jiffies + dirty_writeback_interval); else
} else {
del_timer(&wb_timer); del_timer(&wb_timer);
}
return 0; return 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