Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 26925
b: refs/heads/master
c: a2eb0c1
h: refs/heads/master
i:
  26923: 942b571
v: v3
  • Loading branch information
NeilBrown authored and Linus Torvalds committed May 23, 2006
1 parent e4c4204 commit 5f7d56b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5c4c33318d26620fa552f15bbb6d0f9775a1b4df
refs/heads/master: a2eb0c101d24aca9d3d16c30c4f79f3a70c89208
3 changes: 3 additions & 0 deletions trunk/fs/bio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 5f7d56b

Please sign in to comment.