commit | 8fc554552c9d89e7bf76cd4cbc0085648bf3125b | [log] [tgz] |
---|---|---|
author | Ming Lei <ming.lei@canonical.com> | Thu Jun 09 10:00:58 2016 -0600 |
committer | Jens Axboe <axboe@fb.com> | Thu Jun 09 10:00:58 2016 -0600 |
tree | 1fe45de8fea776f50a7bbfa970c17973a79f40da | |
parent | 52b9c330c6a8a4b5a1819bdaddf4ec76ab571e81 [diff] |
block: move bvec iterator into include/linux/bvec.h bvec iterator helpers should be used to implement by iterate_bvec():lib/iov_iter.c too, and move them into one header, so that we can keep bvec iterator header out of CONFIG_BLOCK. Then we can remove the reinventing of wheel in iterate_bvec(). Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Ming Lei <ming.lei@canonical.com> Tested-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Jens Axboe <axboe@fb.com>