diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2010-05-21 20:01:54 +0200 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2010-05-21 20:01:54 +0200 |
commit | df96e96f76571c30d903829a7b2ab2b421028790 (patch) | |
tree | d3cc536a9aea6f99228789fe92ba81b195e8049c /mm | |
parent | c2c4986eddaa7dc3d036cb2bfa5c8c5f1f2492a0 (diff) | |
download | linux-df96e96f76571c30d903829a7b2ab2b421028790.tar.gz linux-df96e96f76571c30d903829a7b2ab2b421028790.tar.bz2 linux-df96e96f76571c30d903829a7b2ab2b421028790.zip |
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')
-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) */ 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); } /* |