]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit572551796d7367b09bb2a8937a74a0f198174f59
treef3dc82610bcb07d1c6dbe6faa8ed6170e6fea1e7
parent9683056c567bf948be94bba673451d526fc863be
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