summaryrefslogtreecommitdiffstats
path: root/drivers/md/linear.c
diff options
context:
space:
mode:
authorKent Overstreet2013-08-07 23:32:45 +0200
committerKent Overstreet2013-11-24 07:33:56 +0100
commitee67891bf132612feb7b999ee1f3350b40867cb4 (patch)
treef76ea89886cd12b19dbdde2069bbfaa396e2e35e /drivers/md/linear.c
parentblock: Generic bio chaining (diff)
downloadkernel-qcow2-linux-ee67891bf132612feb7b999ee1f3350b40867cb4.tar.gz
kernel-qcow2-linux-ee67891bf132612feb7b999ee1f3350b40867cb4.tar.xz
kernel-qcow2-linux-ee67891bf132612feb7b999ee1f3350b40867cb4.zip
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/md/linear.c')
-rw-r--r--drivers/md/linear.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/linear.c b/drivers/md/linear.c
index fb3b0d04edfb..e9b53e9793bf 100644
--- a/drivers/md/linear.c
+++ b/drivers/md/linear.c
@@ -326,7 +326,7 @@ static void linear_make_request(struct mddev *mddev, struct bio *bio)
rcu_read_unlock();
- bp = bio_split(bio, end_sector - bio->bi_iter.bi_sector);
+ bp = bio_pair_split(bio, end_sector - bio->bi_iter.bi_sector);
linear_make_request(mddev, &bp->bio1);
linear_make_request(mddev, &bp->bio2);