aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dynamic_debug.c
diff options
context:
space:
mode:
authorNeilBrown <[email protected]>2010-09-07 07:02:47 +0000
committerNeilBrown <[email protected]>2010-09-17 03:53:13 +0000
commit126925c090155f13e90b9e7e8c4010e96027c00a (patch)
treef433e7cbd6aba7096a88cc7286b05e0c467ee43d /lib/dynamic_debug.c
parentMerge ssh://master.kernel.org/home/hpa/tree/sec (diff)
downloadkernel-126925c090155f13e90b9e7e8c4010e96027c00a.tar.gz
kernel-126925c090155f13e90b9e7e8c4010e96027c00a.zip
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" <[email protected]> Signed-off-by: NeilBrown <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions