summaryrefslogtreecommitdiffstats
path: root/include/linux/backing-dev-defs.h
diff options
context:
space:
mode:
authorJens Axboe2017-09-28 19:31:22 +0200
committerJens Axboe2017-10-03 16:38:17 +0200
commite8e8a0c6c9bfc0b320671166dd795f413f636773 (patch)
treef341ed9625f86002a27ec73d66750ada056083bc /include/linux/backing-dev-defs.h
parentwriteback: make wb_start_writeback() static (diff)
downloadkernel-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/backing-dev-defs.h')
0 files changed, 0 insertions, 0 deletions