diff options
-rw-r--r-- | drivers/md/raid1.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/md/raid1.c b/drivers/md/raid1.c index a0c02fb8af2a..77fab07abcee 100644 --- a/drivers/md/raid1.c +++ b/drivers/md/raid1.c | |||
@@ -1358,8 +1358,7 @@ static void end_sync_read(struct bio *bio, int error) | |||
1358 | { | 1358 | { |
1359 | r1bio_t *r1_bio = bio->bi_private; | 1359 | r1bio_t *r1_bio = bio->bi_private; |
1360 | 1360 | ||
1361 | /* this will call update_head_pos() */ | 1361 | update_head_pos(r1_bio->read_disk, r1_bio); |
1362 | find_bio_disk(r1_bio, bio); | ||
1363 | 1362 | ||
1364 | /* | 1363 | /* |
1365 | * we have read a block, now it needs to be re-written, | 1364 | * we have read a block, now it needs to be re-written, |