summaryrefslogtreecommitdiffstats
path: root/mm/page-writeback.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2017-09-28 19:25:03 +0200
committerJens Axboe <axboe@kernel.dk>2017-10-03 16:38:17 +0200
commit47410d88f665486bf91f02242ab5d5692b8887ac (patch)
tree84153b60c0c2cf1b363c41a4dc4934509ec7c975 /mm/page-writeback.c
parentwriteback: switch wakeup_flusher_threads() to cyclic writeback (diff)
downloadlinux-47410d88f665486bf91f02242ab5d5692b8887ac.tar.xz
linux-47410d88f665486bf91f02242ab5d5692b8887ac.zip
writeback: remove 'range_cyclic' argument for wb_start_writeback()
All the callers pass in 'true' for range_cyclic, so kill the argument. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'mm/page-writeback.c')
-rw-r--r--mm/page-writeback.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/page-writeback.c b/mm/page-writeback.c
index 0b9c5cbe8eba..dede53355123 100644
--- a/mm/page-writeback.c
+++ b/mm/page-writeback.c
@@ -1994,8 +1994,8 @@ void laptop_mode_timer_fn(unsigned long data)
rcu_read_lock();
list_for_each_entry_rcu(wb, &q->backing_dev_info->wb_list, bdi_node)
if (wb_has_dirty_io(wb))
- wb_start_writeback(wb, nr_pages, true,
- WB_REASON_LAPTOP_TIMER);
+ wb_start_writeback(wb, nr_pages,
+ WB_REASON_LAPTOP_TIMER);
rcu_read_unlock();
}