aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2007-07-16 02:41:05 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-16 12:05:47 -0400
commit3e733f071e16bdad13a75eedb102e8941b09927e (patch)
tree4c3be61c45b6b7a5943b4680a27b42aacf951b00 /mm
parent97842216b8400fe9d1a20468959e2989180f8f79 (diff)
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>
Diffstat (limited to 'mm')
-rw-r--r--mm/page-writeback.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/mm/page-writeback.c b/mm/page-writeback.c
index eec1481ba44f..ea9da3bed3e9 100644
--- a/mm/page-writeback.c
+++ b/mm/page-writeback.c
@@ -476,15 +476,13 @@ static void wb_kupdate(unsigned long arg)
476 * sysctl handler for /proc/sys/vm/dirty_writeback_centisecs 476 * sysctl handler for /proc/sys/vm/dirty_writeback_centisecs
477 */ 477 */
478int dirty_writeback_centisecs_handler(ctl_table *table, int write, 478int dirty_writeback_centisecs_handler(ctl_table *table, int write,
479 struct file *file, void __user *buffer, size_t *length, loff_t *ppos) 479 struct file *file, void __user *buffer, size_t *length, loff_t *ppos)
480{ 480{
481 proc_dointvec_userhz_jiffies(table, write, file, buffer, length, ppos); 481 proc_dointvec_userhz_jiffies(table, write, file, buffer, length, ppos);
482 if (dirty_writeback_interval) { 482 if (dirty_writeback_interval)
483 mod_timer(&wb_timer, 483 mod_timer(&wb_timer, jiffies + dirty_writeback_interval);
484 jiffies + dirty_writeback_interval); 484 else
485 } else {
486 del_timer(&wb_timer); 485 del_timer(&wb_timer);
487 }
488 return 0; 486 return 0;
489} 487}
490 488