diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2009-11-17 04:01:34 -0500 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2009-11-17 04:01:34 -0500 |
commit | bb9074ff58fe745e4f244f76209241909c82ec9c (patch) | |
tree | cf6be00ab88b1e315f6b74a896a370440f677599 /drivers/md/md.c | |
parent | 4739a9748e1bd7459f22f7e94e7d85710ca83954 (diff) | |
parent | 156171c71a0dc4bce12b4408bb1591f8fe32dc1a (diff) |
Merge commit 'v2.6.32-rc7'
Resolve the conflict between v2.6.32-rc7 where dn_def_dev_handler
gets a small bug fix and the sysctl tree where I am removing all
sysctl strategy routines.
Diffstat (limited to 'drivers/md/md.c')
-rw-r--r-- | drivers/md/md.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/md/md.c b/drivers/md/md.c index e9cad8889cf9..1d529551e944 100644 --- a/drivers/md/md.c +++ b/drivers/md/md.c | |||
@@ -6500,8 +6500,9 @@ void md_do_sync(mddev_t *mddev) | |||
6500 | skip: | 6500 | skip: |
6501 | mddev->curr_resync = 0; | 6501 | mddev->curr_resync = 0; |
6502 | mddev->curr_resync_completed = 0; | 6502 | mddev->curr_resync_completed = 0; |
6503 | mddev->resync_min = 0; | 6503 | if (!test_bit(MD_RECOVERY_INTR, &mddev->recovery)) |
6504 | mddev->resync_max = MaxSector; | 6504 | /* We completed so max setting can be forgotten. */ |
6505 | mddev->resync_max = MaxSector; | ||
6505 | sysfs_notify(&mddev->kobj, NULL, "sync_completed"); | 6506 | sysfs_notify(&mddev->kobj, NULL, "sync_completed"); |
6506 | wake_up(&resync_wait); | 6507 | wake_up(&resync_wait); |
6507 | set_bit(MD_RECOVERY_DONE, &mddev->recovery); | 6508 | set_bit(MD_RECOVERY_DONE, &mddev->recovery); |