diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2010-05-21 14:01:54 -0400 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2010-05-21 14:01:54 -0400 |
commit | df96e96f76571c30d903829a7b2ab2b421028790 (patch) | |
tree | d3cc536a9aea6f99228789fe92ba81b195e8049c /mm/page-writeback.c | |
parent | c2c4986eddaa7dc3d036cb2bfa5c8c5f1f2492a0 (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.c | 2 |
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) | |||
707 | */ | 707 | */ |
708 | 708 | ||
709 | if (bdi_has_dirty_io(&q->backing_dev_info)) | 709 | if (bdi_has_dirty_io(&q->backing_dev_info)) |
710 | bdi_start_writeback(&q->backing_dev_info, NULL, 0, nr_pages); | 710 | bdi_start_writeback(&q->backing_dev_info, NULL, nr_pages, 0); |
711 | } | 711 | } |
712 | 712 | ||
713 | /* | 713 | /* |