aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/md/raid1.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/md/raid1.c b/drivers/md/raid1.c
index 5ff75c4d3af6..2e08e48b02d9 100644
--- a/drivers/md/raid1.c
+++ b/drivers/md/raid1.c
@@ -1689,10 +1689,10 @@ static void raid1d(mddev_t *mddev)
1689 r1_bio->bios[r1_bio->read_disk] = bio; 1689 r1_bio->bios[r1_bio->read_disk] = bio;
1690 rdev = conf->mirrors[disk].rdev; 1690 rdev = conf->mirrors[disk].rdev;
1691 if (printk_ratelimit()) 1691 if (printk_ratelimit())
1692 printk(KERN_ERR "raid1: %s: redirecting sector %llu to" 1692 printk(KERN_ERR "raid1: redirecting sector %llu to"
1693 " another mirror\n", 1693 " other mirror: %s\n",
1694 bdevname(rdev->bdev,b), 1694 (unsigned long long)r1_bio->sector,
1695 (unsigned long long)r1_bio->sector); 1695 bdevname(rdev->bdev,b));
1696 bio->bi_sector = r1_bio->sector + rdev->data_offset; 1696 bio->bi_sector = r1_bio->sector + rdev->data_offset;
1697 bio->bi_bdev = rdev->bdev; 1697 bio->bi_bdev = rdev->bdev;
1698 bio->bi_end_io = raid1_end_read_request; 1698 bio->bi_end_io = raid1_end_read_request;