Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 211366
b: refs/heads/master
c: db8d9d3
h: refs/heads/master
v: v3
  • Loading branch information
NeilBrown committed Oct 7, 2010
1 parent f109ed5 commit 48300b8
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 7571ae887d3b96d8e7ce63d43828866c6a91cdc6
refs/heads/master: db8d9d3591f77cc6b66248b2cdfa1c43deee5ec9
2 changes: 2 additions & 0 deletions trunk/drivers/md/raid1.c
Original file line number Diff line number Diff line change
Expand Up @@ -1839,7 +1839,9 @@ static sector_t sync_request(mddev_t *mddev, sector_t sector_nr, int *skipped, i

/* take from bio_init */
bio->bi_next = NULL;
bio->bi_flags &= ~(BIO_POOL_MASK-1);
bio->bi_flags |= 1 << BIO_UPTODATE;
bio->bi_comp_cpu = -1;
bio->bi_rw = READ;
bio->bi_vcnt = 0;
bio->bi_idx = 0;
Expand Down

0 comments on commit 48300b8

Please sign in to comment.