block: Kill bio_iovec_idx(), __bio_iovec()
authorKent Overstreet <kmo@daterainc.com>
Wed, 7 Aug 2013 21:30:33 +0000 (14:30 -0700)
committerKent Overstreet <kmo@daterainc.com>
Sun, 24 Nov 2013 06:33:53 +0000 (22:33 -0800)
commitf619d25460473788944e3b71b030398681e8809b
treef3dc82610bcb07d1c6dbe6faa8ed6170e6fea1e7
parentf38a5181d9f3e004b1f50f9d7e1f2a8492ce240a
block: Kill bio_iovec_idx(), __bio_iovec()

bio_iovec_idx() and __bio_iovec() don't have any valid uses anymore -
previous users have been converted to bio_iovec_iter() or other methods.

__BVEC_END() has to go too - the bvec array can't be used directly for
the last biovec because we might only be using the first portion of it,
we have to iterate over the bvec array with bio_for_each_segment() which
checks against the current value of bi_iter.bi_size.

Signed-off-by: Kent Overstreet <kmo@daterainc.com>
Cc: Jens Axboe <axboe@kernel.dk>
block/blk-merge.c
include/linux/bio.h