diff options
Diffstat (limited to 'drivers/md/raid1.c')
-rw-r--r-- | drivers/md/raid1.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/raid1.c b/drivers/md/raid1.c index 9d9acc3e51a7..c3b4772cfaea 100644 --- a/drivers/md/raid1.c +++ b/drivers/md/raid1.c | |||
@@ -1230,6 +1230,7 @@ static sector_t sync_request(mddev_t *mddev, sector_t sector_nr, int *skipped, i | |||
1230 | } | 1230 | } |
1231 | 1231 | ||
1232 | nr_sectors = 0; | 1232 | nr_sectors = 0; |
1233 | sync_blocks = 0; | ||
1233 | do { | 1234 | do { |
1234 | struct page *page; | 1235 | struct page *page; |
1235 | int len = PAGE_SIZE; | 1236 | int len = PAGE_SIZE; |