Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 197497
b: refs/heads/master
c: d754c5a
h: refs/heads/master
i:
  197495: f91f1d0
v: v3
  • Loading branch information
NeilBrown committed May 18, 2010
1 parent fee3adf commit e7b5371
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9e35b99c7efacfddc748c89a0c53b1122b0ee72c
refs/heads/master: d754c5ae1ff76b20d3ecde8ad666d7865eada8ae
8 changes: 4 additions & 4 deletions trunk/drivers/md/raid1.c
Original file line number Diff line number Diff line change
Expand Up @@ -1689,10 +1689,10 @@ static void raid1d(mddev_t *mddev)
r1_bio->bios[r1_bio->read_disk] = bio;
rdev = conf->mirrors[disk].rdev;
if (printk_ratelimit())
printk(KERN_ERR "raid1: %s: redirecting sector %llu to"
" another mirror\n",
bdevname(rdev->bdev,b),
(unsigned long long)r1_bio->sector);
printk(KERN_ERR "raid1: redirecting sector %llu to"
" other mirror: %s\n",
(unsigned long long)r1_bio->sector,
bdevname(rdev->bdev,b));
bio->bi_sector = r1_bio->sector + rdev->data_offset;
bio->bi_bdev = rdev->bdev;
bio->bi_end_io = raid1_end_read_request;
Expand Down

0 comments on commit e7b5371

Please sign in to comment.