diff --git a/[refs] b/[refs] index 31e2f88c2bea..70c57fded06e 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 5c4c33318d26620fa552f15bbb6d0f9775a1b4df +refs/heads/master: a2eb0c101d24aca9d3d16c30c4f79f3a70c89208 diff --git a/trunk/fs/bio.c b/trunk/fs/bio.c index eb8fbc53f2cd..098c12b2d60a 100644 --- a/trunk/fs/bio.c +++ b/trunk/fs/bio.c @@ -1116,6 +1116,9 @@ struct bio_pair *bio_split(struct bio *bi, mempool_t *pool, int first_sectors) bp->bio1.bi_io_vec = &bp->bv1; bp->bio2.bi_io_vec = &bp->bv2; + bp->bio1.bi_max_vecs = 1; + bp->bio2.bi_max_vecs = 1; + bp->bio1.bi_end_io = bio_pair_end_1; bp->bio2.bi_end_io = bio_pair_end_2;