commit | 6f8d0c77cef5849433dd7beb0bd97e573cc4a6a3 | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.de> | Wed May 11 14:38:44 2011 +1000 |
committer | NeilBrown <neilb@suse.de> | Wed May 11 14:38:44 2011 +1000 |
tree | 42d3a4438d035dfd792758c40cbd39317166b1c8 | |
parent | 92f861a72a273ed038c1e22ff9775456353e3009 [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>