diff options
-rw-r--r-- | drivers/md/md.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/md/md.c b/drivers/md/md.c index 200d0862335f..8d93f867adbf 100644 --- a/drivers/md/md.c +++ b/drivers/md/md.c | |||
@@ -3782,6 +3782,8 @@ resync_start_store(struct mddev *mddev, const char *buf, size_t len) | |||
3782 | return -EINVAL; | 3782 | return -EINVAL; |
3783 | 3783 | ||
3784 | mddev->recovery_cp = n; | 3784 | mddev->recovery_cp = n; |
3785 | if (mddev->pers) | ||
3786 | set_bit(MD_CHANGE_CLEAN, &mddev->flags); | ||
3785 | return len; | 3787 | return len; |
3786 | } | 3788 | } |
3787 | static struct md_sysfs_entry md_resync_start = | 3789 | static struct md_sysfs_entry md_resync_start = |