summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMing Lei <ming.lei@canonical.com>2016-05-30 16:34:30 +0300
committerJens Axboe <axboe@fb.com>2016-06-09 19:02:47 +0300
commit0781e79eb206a62c30cc3eff75aaa889cd85b276 (patch)
tree19bae7f4fe30e974076ab8655399aefdd7574dae /lib
parent8fc554552c9d89e7bf76cd4cbc0085648bf3125b (diff)
downloadlinux-0781e79eb206a62c30cc3eff75aaa889cd85b276.tar.xz
block: move two bvec structure into bvec.h
This patch moves 'struct bio_vec' and 'struct bvec_iter' into 'include/linux/bvec.h', then always include this header into 'include/linux/blk_types.h'. With this change, both 'struct bvec_iter' and bvec iterator helpers don't depend on CONFIG_BLOCK any more, then we can use bvec iterator to implement iterate_bvec(): lib/iov_iter.c. Reviewed-by: Christoph Hellwig <hch@lst.de> Suggested-by: Christoph Hellwig <hch@infradead.org> Signed-off-by: Ming Lei <ming.lei@canonical.com> Tested-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions