diff options
author | NeilBrown <neilb@suse.de> | 2011-05-11 14:38:44 +1000 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2011-05-11 14:38:44 +1000 |
commit | 6f8d0c77cef5849433dd7beb0bd97e573cc4a6a3 (patch) | |
tree | 42d3a4438d035dfd792758c40cbd39317166b1c8 /init | |
parent | 92f861a72a273ed038c1e22ff9775456353e3009 (diff) | |
download | linux-6f8d0c77cef5849433dd7beb0bd97e573cc4a6a3.tar.bz2 |
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 'init')
0 files changed, 0 insertions, 0 deletions