diff options
author | Kent Overstreet <kmo@daterainc.com> | 2013-08-07 14:32:45 -0700 |
---|---|---|
committer | Kent Overstreet <kmo@daterainc.com> | 2013-11-23 22:33:56 -0800 |
commit | ee67891bf132612feb7b999ee1f3350b40867cb4 (patch) | |
tree | f76ea89886cd12b19dbdde2069bbfaa396e2e35e /drivers/block | |
parent | 196d38bccfcfa32faed8c561868336fdfa0fe8e4 (diff) | |
download | op-kernel-dev-ee67891bf132612feb7b999ee1f3350b40867cb4.zip op-kernel-dev-ee67891bf132612feb7b999ee1f3350b40867cb4.tar.gz |
block: Rename bio_split() -> bio_pair_split()
This is prep work for introducing a more general bio_split().
Signed-off-by: Kent Overstreet <kmo@daterainc.com>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: NeilBrown <neilb@suse.de>
Cc: Alasdair Kergon <agk@redhat.com>
Cc: Lars Ellenberg <lars.ellenberg@linbit.com>
Cc: Peter Osterlund <petero2@telia.com>
Cc: Sage Weil <sage@inktank.com>
Diffstat (limited to 'drivers/block')
-rw-r--r-- | drivers/block/pktcdvd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/pktcdvd.c b/drivers/block/pktcdvd.c index ce986ba..28789b8 100644 --- a/drivers/block/pktcdvd.c +++ b/drivers/block/pktcdvd.c @@ -2399,7 +2399,7 @@ static void pkt_make_request(struct request_queue *q, struct bio *bio) if (last_zone != zone) { BUG_ON(last_zone != zone + pd->settings.size); first_sectors = last_zone - bio->bi_iter.bi_sector; - bp = bio_split(bio, first_sectors); + bp = bio_pair_split(bio, first_sectors); BUG_ON(!bp); pkt_make_request(q, &bp->bio1); pkt_make_request(q, &bp->bio2); |