block: Kill bio_iovec_idx(), __bio_iovec()
authorKent Overstreet <kmo@daterainc.com>
Wed, 7 Aug 2013 21:30:33 +0000 (14:30 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 31 Oct 2013 14:04:49 +0000 (08:04 -0600)
commitcc4067bd8adeb5507829b7ae8f17211aab5d1e9d
tree8cde4160dddfd77efa351921ca436013b7916ede
parentc198aee7e9a801d32cee4607453871cff7c43e6c
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>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-merge.c
include/linux/bio.h