diff options
Diffstat (limited to 'drivers/md/raid10.c')
-rw-r--r-- | drivers/md/raid10.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/md/raid10.c b/drivers/md/raid10.c index 5cdcc9386200..ba125277c6c4 100644 --- a/drivers/md/raid10.c +++ b/drivers/md/raid10.c | |||
@@ -1670,6 +1670,8 @@ static sector_t sync_request(mddev_t *mddev, sector_t sector_nr, int *skipped, i | |||
1670 | if (!go_faster && conf->nr_waiting) | 1670 | if (!go_faster && conf->nr_waiting) |
1671 | msleep_interruptible(1000); | 1671 | msleep_interruptible(1000); |
1672 | 1672 | ||
1673 | bitmap_cond_end_sync(mddev->bitmap, sector_nr); | ||
1674 | |||
1673 | /* Again, very different code for resync and recovery. | 1675 | /* Again, very different code for resync and recovery. |
1674 | * Both must result in an r10bio with a list of bios that | 1676 | * Both must result in an r10bio with a list of bios that |
1675 | * have bi_end_io, bi_sector, bi_bdev set, | 1677 | * have bi_end_io, bi_sector, bi_bdev set, |