summaryrefslogtreecommitdiff
path: root/drivers/md/raid1.c
diff options
context:
space:
mode:
authorJonathan Brassow <jbrassow@redhat.com>2012-05-22 03:55:31 (GMT)
committerNeilBrown <neilb@suse.de>2012-05-22 03:55:31 (GMT)
commitc32fb9e7ecee25a5b6a45bf968dfef76f323e185 (patch)
tree5de381a4d0c926c480d0e7244975a81450f8ecce /drivers/md/raid1.c
parent81f382f9e0b25ef56b1c0283c900b86b91a5e4c7 (diff)
downloadlinux-fsl-qoriq-c32fb9e7ecee25a5b6a45bf968dfef76f323e185.tar.xz
DM RAID: Use md_error() in place of simply setting Faulty bit
When encountering an error while reading the superblock, call md_error. We are currently setting the 'Faulty' bit on one of the array devices when an error is encountered while reading the superblock of a dm-raid array. We should be calling md_error(), as it handles the error more completely. Signed-off-by: Jonathan Brassow <jbrassow@redhat.com> Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md/raid1.c')
0 files changed, 0 insertions, 0 deletions