From: NeilBrown Date: Tue, 7 Sep 2010 07:02:47 +0000 (+1000) Subject: md: call md_update_sb even for 'external' metadata arrays. X-Git-Tag: v2.6.36-rc5~19^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=126925c090155f13e90b9e7e8c4010e96027c00a;p=pandora-kernel.git md: call md_update_sb even for 'external' metadata arrays. Now that we depend on md_update_sb to clear variable bits in mddev->flags (rather than trying not to set them) it is important to always call md_update_sb when appropriate. md_check_recovery has this job but explicitly avoids it for ->external metadata arrays. This is not longer appropraite, or needed. However we do want to avoid taking the mddev lock if only MD_CHANGE_PENDING is set as that is not cleared by md_update_sb for external-metadata arrays. Reported-by: "Kwolek, Adam" Signed-off-by: NeilBrown --- Reading git-diff-tree failed