commit | e8e8a0c6c9bfc0b320671166dd795f413f636773 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Thu Sep 28 11:31:22 2017 -0600 |
committer | Jens Axboe <axboe@kernel.dk> | Tue Oct 03 08:38:17 2017 -0600 |
tree | f341ed9625f86002a27ec73d66750ada056083bc | |
parent | 9dfb176fae57a1dea68531fd25e867037e4d9bac [diff] |
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>