block: move bio_get_{first,last}_bvec out of bio.h
authorChristoph Hellwig <hch@lst.de>
Tue, 12 Oct 2021 16:18:03 +0000 (18:18 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 18 Oct 2021 12:17:35 +0000 (06:17 -0600)
commitff18d77b5f0cf3e25aa13741eed4d788a13c04d7
tree0c5a2080d5f9bc8f722762397d532db8ee635246
parent9774b39175fe3606ce2a836a47134c53b75681c9
block: move bio_get_{first,last}_bvec out of bio.h

bio_get_first_bvec and bio_get_last_bvec are only used in blk-merge.c,
so move them there.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20211012161804.991559-8-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-merge.c
include/linux/bio.h