diff options
author | 2019-02-15 19:13:19 +0800 | |
---|---|---|
committer | 2019-02-15 08:40:11 -0700 | |
commit | 6dc4f100c175dd0511ae8674786e7c9006cdfbfa (patch) | |
tree | b8e5204ca6eec1275187496f2d6c069643e478dc /drivers/mmc/core/queue.c | |
parent | bcache: avoid to use bio_for_each_segment_all() in bch_bio_alloc_pages() (diff) | |
download | linux-dev-6dc4f100c175dd0511ae8674786e7c9006cdfbfa.tar.xz linux-dev-6dc4f100c175dd0511ae8674786e7c9006cdfbfa.zip |
block: allow bio_for_each_segment_all() to iterate over multi-page bvec
This patch introduces one extra iterator variable to bio_for_each_segment_all(),
then we can allow bio_for_each_segment_all() to iterate over multi-page bvec.
Given it is just one mechannical & simple change on all bio_for_each_segment_all()
users, this patch does tree-wide change in one single patch, so that we can
avoid to use a temporary helper for this conversion.
Reviewed-by: Omar Sandoval <osandov@fb.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/mmc/core/queue.c')
0 files changed, 0 insertions, 0 deletions