Skip to content
Commit e8e8a0c6 authored by Jens Axboe's avatar Jens Axboe
Browse files

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: default avatarJohannes Weiner <hannes@cmpxchg.org>
Tested-by: default avatarChris Mason <clm@fb.com>
Reviewed-by: default avatarJan Kara <jack@suse.cz>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 9dfb176f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment