summaryrefslogtreecommitdiffstats
path: root/drivers/md/md.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-06-17 11:57:00 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-06-17 11:57:00 -0700
commit72992bc1fdbb7d6f5ede60e02fee87e81ef98ace (patch)
treea24b6da35edd7b4a254a0ec920817c12da862bb0 /drivers/md/md.c
parentbad15f2c386d9978ffb5c555e7b10543ff9b4beb (diff)
parent7d132055814ef17a6c7b69f342244c410a5e000f (diff)
downloadlinux-72992bc1fdbb7d6f5ede60e02fee87e81ef98ace.tar.bz2
Merge 3.10-rc6 into staging-next
We want the fixes in here as well. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/md/md.c')
-rw-r--r--drivers/md/md.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/md.c b/drivers/md/md.c
index 681d1099a2d5..9b82377a833b 100644
--- a/drivers/md/md.c
+++ b/drivers/md/md.c
@@ -5268,8 +5268,8 @@ static void md_clean(struct mddev *mddev)
static void __md_stop_writes(struct mddev *mddev)
{
+ set_bit(MD_RECOVERY_FROZEN, &mddev->recovery);
if (mddev->sync_thread) {
- set_bit(MD_RECOVERY_FROZEN, &mddev->recovery);
set_bit(MD_RECOVERY_INTR, &mddev->recovery);
md_reap_sync_thread(mddev);
}