diff options
author | Jens Axboe | 2017-09-28 19:31:22 +0200 |
---|---|---|
committer | Jens Axboe | 2017-10-03 16:38:17 +0200 |
commit | e8e8a0c6c9bfc0b320671166dd795f413f636773 (patch) | |
tree | f341ed9625f86002a27ec73d66750ada056083bc /include/linux/dca.h | |
parent | writeback: make wb_start_writeback() static (diff) | |
download | kernel-qcow2-linux-e8e8a0c6c9bfc0b320671166dd795f413f636773.tar.gz kernel-qcow2-linux-e8e8a0c6c9bfc0b320671166dd795f413f636773.tar.xz kernel-qcow2-linux-e8e8a0c6c9bfc0b320671166dd795f413f636773.zip |
writeback: move nr_pages == 0 logic to one location
Now that we have no external callers of wb_start_writeback(), we
can shuffle the passing in of 'nr_pages'. Everybody passes in 0
at this point, so just kill the argument and move the dirty
count retrieval to that function.
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Tested-by: Chris Mason <clm@fb.com>
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 'include/linux/dca.h')
0 files changed, 0 insertions, 0 deletions