diff options
Diffstat (limited to 'drivers/md/raid1.c')
-rw-r--r-- | drivers/md/raid1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/raid1.c b/drivers/md/raid1.c index b3c5e12f081d..b30f74be3982 100644 --- a/drivers/md/raid1.c +++ b/drivers/md/raid1.c | |||
@@ -1736,7 +1736,7 @@ static sector_t sync_request(mddev_t *mddev, sector_t sector_nr, int *skipped, i | |||
1736 | /* take from bio_init */ | 1736 | /* take from bio_init */ |
1737 | bio->bi_next = NULL; | 1737 | bio->bi_next = NULL; |
1738 | bio->bi_flags |= 1 << BIO_UPTODATE; | 1738 | bio->bi_flags |= 1 << BIO_UPTODATE; |
1739 | bio->bi_rw = 0; | 1739 | bio->bi_rw = READ; |
1740 | bio->bi_vcnt = 0; | 1740 | bio->bi_vcnt = 0; |
1741 | bio->bi_idx = 0; | 1741 | bio->bi_idx = 0; |
1742 | bio->bi_phys_segments = 0; | 1742 | bio->bi_phys_segments = 0; |