diff options
author | John W. Linville <linville@tuxdriver.com> | 2006-05-26 16:06:58 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2006-05-26 16:06:58 -0400 |
commit | f587fb74b26a10354f1eb73e8d054cd15e5a2fe2 (patch) | |
tree | a453a270fc86ada85d808487c911387739ce2296 /fs/bio.c | |
parent | df8ccb9bf1ca360581a94c2245efb9fa613fbb29 (diff) | |
parent | 705af309505681f197f81618440954d10f120dc0 (diff) | |
download | lwn-f587fb74b26a10354f1eb73e8d054cd15e5a2fe2.tar.gz lwn-f587fb74b26a10354f1eb73e8d054cd15e5a2fe2.zip |
Merge branch 'from-linus' into upstream
Diffstat (limited to 'fs/bio.c')
-rw-r--r-- | fs/bio.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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; |