aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/raid10.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/raid10.c')
-rw-r--r--drivers/md/raid10.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/raid10.c b/drivers/md/raid10.c
index ac4bfa438c57..69c1bc8da88f 100644
--- a/drivers/md/raid10.c
+++ b/drivers/md/raid10.c
@@ -1193,7 +1193,7 @@ static void make_request(struct mddev *mddev, struct bio * bio)
1193 /* This is a one page bio that upper layers 1193 /* This is a one page bio that upper layers
1194 * refuse to split for us, so we need to split it. 1194 * refuse to split for us, so we need to split it.
1195 */ 1195 */
1196 bp = bio_split(bio, chunk_sects - 1196 bp = bio_pair_split(bio, chunk_sects -
1197 (bio->bi_iter.bi_sector & (chunk_sects - 1))); 1197 (bio->bi_iter.bi_sector & (chunk_sects - 1)));
1198 1198
1199 /* Each of these 'make_request' calls will call 'wait_barrier'. 1199 /* Each of these 'make_request' calls will call 'wait_barrier'.