summaryrefslogtreecommitdiff
path: root/mm/page-writeback.c
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2010-05-21 20:01:54 +0200
committerJens Axboe <jens.axboe@oracle.com>2010-05-21 20:01:54 +0200
commitdf96e96f76571c30d903829a7b2ab2b421028790 (patch)
treed3cc536a9aea6f99228789fe92ba81b195e8049c /mm/page-writeback.c
parentc2c4986eddaa7dc3d036cb2bfa5c8c5f1f2492a0 (diff)
writeback: fix mixed up arguments to bdi_start_writeback()
The laptop mode timer had the nr_pages and sb_locked arguments mixed up. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'mm/page-writeback.c')
-rw-r--r--mm/page-writeback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/page-writeback.c b/mm/page-writeback.c
index 9886424e1864..b289310e2c89 100644
--- a/mm/page-writeback.c
+++ b/mm/page-writeback.c
@@ -707,7 +707,7 @@ void laptop_mode_timer_fn(unsigned long data)
*/
if (bdi_has_dirty_io(&q->backing_dev_info))
- bdi_start_writeback(&q->backing_dev_info, NULL, 0, nr_pages);
+ bdi_start_writeback(&q->backing_dev_info, NULL, nr_pages, 0);
}
/*