diff options
Diffstat (limited to 'drivers/md')
-rw-r--r-- | drivers/md/raid10.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/raid10.c b/drivers/md/raid10.c index 146749b277c6..867d1b4e9634 100644 --- a/drivers/md/raid10.c +++ b/drivers/md/raid10.c | |||
@@ -3218,7 +3218,7 @@ static sector_t sync_request(struct mddev *mddev, sector_t sector_nr, | |||
3218 | else { | 3218 | else { |
3219 | bad_sectors -= (sector - first_bad); | 3219 | bad_sectors -= (sector - first_bad); |
3220 | if (max_sync > bad_sectors) | 3220 | if (max_sync > bad_sectors) |
3221 | max_sync = max_sync; | 3221 | max_sync = bad_sectors; |
3222 | continue; | 3222 | continue; |
3223 | } | 3223 | } |
3224 | } | 3224 | } |