diff options
Diffstat (limited to 'drivers/md/dm-raid.c')
-rw-r--r-- | drivers/md/dm-raid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-raid.c b/drivers/md/dm-raid.c index f1797c4f09c4..017c34d78d61 100644 --- a/drivers/md/dm-raid.c +++ b/drivers/md/dm-raid.c | |||
@@ -603,7 +603,7 @@ static int read_disk_sb(struct md_rdev *rdev, int size) | |||
603 | if (!sync_page_io(rdev, 0, size, rdev->sb_page, READ, 1)) { | 603 | if (!sync_page_io(rdev, 0, size, rdev->sb_page, READ, 1)) { |
604 | DMERR("Failed to read superblock of device at position %d", | 604 | DMERR("Failed to read superblock of device at position %d", |
605 | rdev->raid_disk); | 605 | rdev->raid_disk); |
606 | set_bit(Faulty, &rdev->flags); | 606 | md_error(rdev->mddev, rdev); |
607 | return -EINVAL; | 607 | return -EINVAL; |
608 | } | 608 | } |
609 | 609 | ||