From: NeilBrown Date: Wed, 11 May 2011 04:38:44 +0000 (+1000) Subject: md: make error_handler functions more uniform and correct. X-Git-Tag: v3.0-rc1~358^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f8d0c77cef5849433dd7beb0bd97e573cc4a6a3;p=pandora-kernel.git 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 --- Reading git-diff-tree failed