mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-11-18 07:35:12 +08:00
dirty_writeback_centisecs_handler() cleanup
Repair indenting bustage. Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
97842216b8
commit
3e733f071e
@ -479,12 +479,10 @@ int dirty_writeback_centisecs_handler(ctl_table *table, int write,
|
||||
struct file *file, void __user *buffer, size_t *length, loff_t *ppos)
|
||||
{
|
||||
proc_dointvec_userhz_jiffies(table, write, file, buffer, length, ppos);
|
||||
if (dirty_writeback_interval) {
|
||||
mod_timer(&wb_timer,
|
||||
jiffies + dirty_writeback_interval);
|
||||
} else {
|
||||
if (dirty_writeback_interval)
|
||||
mod_timer(&wb_timer, jiffies + dirty_writeback_interval);
|
||||
else
|
||||
del_timer(&wb_timer);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user