aboutsummaryrefslogtreecommitdiff
path: root/drivers/md/raid1.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2011-05-11 14:38:44 +1000
committerNeilBrown <neilb@suse.de>2011-05-11 14:38:44 +1000
commit6f8d0c77cef5849433dd7beb0bd97e573cc4a6a3 (patch)
tree42d3a4438d035dfd792758c40cbd39317166b1c8 /drivers/md/raid1.c
parent92f861a72a273ed038c1e22ff9775456353e3009 (diff)
md: make error_handler functions more uniform and correct.
- there is no need to test_bit Faulty, as that was already done in md_error which is the only caller of these functions. - MD_CHANGE_DEVS should be set *after* faulty is set to ensure metadata is updated correctly. - spinlock should be held while updating ->degraded. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md/raid1.c')
0 files changed, 0 insertions, 0 deletions