summaryrefslogtreecommitdiffstats
path: root/mm/vmscan.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2017-09-20 16:58:25 +0200
committerJens Axboe <axboe@kernel.dk>2017-10-03 16:38:17 +0200
commit9ba4b2dfafaa711b41cc2102b0e9a529f3981218 (patch)
tree71028702d3d6affdc6af86db8528608de326ae32 /mm/vmscan.c
parentbuffer: eliminate the need to call free_more_memory() in __getblk_slow() (diff)
downloadlinux-9ba4b2dfafaa711b41cc2102b0e9a529f3981218.tar.xz
linux-9ba4b2dfafaa711b41cc2102b0e9a529f3981218.zip
fs: kill 'nr_pages' argument from wakeup_flusher_threads()
Everybody is passing in 0 now, let's get rid of the argument. Reviewed-by: Jan Kara <jack@suse.cz> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'mm/vmscan.c')
-rw-r--r--mm/vmscan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/vmscan.c b/mm/vmscan.c
index 13d711dd8776..42a7fdd52d87 100644
--- a/mm/vmscan.c
+++ b/mm/vmscan.c
@@ -1867,7 +1867,7 @@ shrink_inactive_list(unsigned long nr_to_scan, struct lruvec *lruvec,
* also allow kswapd to start writing pages during reclaim.
*/
if (stat.nr_unqueued_dirty == nr_taken) {
- wakeup_flusher_threads(0, WB_REASON_VMSCAN);
+ wakeup_flusher_threads(WB_REASON_VMSCAN);
set_bit(PGDAT_DIRTY, &pgdat->flags);
}