Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 145554
b: refs/heads/master
c: 0e6e027
h: refs/heads/master
v: v3
  • Loading branch information
NeilBrown committed Jun 9, 2009
1 parent e2eb5fb commit 1cd20f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a8c906ca3f63d05f0d25490cf82276f73c6fe095
refs/heads/master: 0e6e0271a210817e202c8a4bfffbde3e3c0616d1
2 changes: 1 addition & 1 deletion trunk/drivers/md/raid5.c
Original file line number Diff line number Diff line change
Expand Up @@ -3916,7 +3916,7 @@ static sector_t reshape_request(mddev_t *mddev, sector_t sector_nr, int *skipped
raid5_compute_sector(conf, stripe_addr*(new_data_disks),
1, &dd_idx, NULL);
last_sector =
raid5_compute_sector(conf, ((stripe_addr+conf->chunk_size/512)
raid5_compute_sector(conf, ((stripe_addr+reshape_sectors)
*(new_data_disks) - 1),
1, &dd_idx, NULL);
if (last_sector >= mddev->dev_sectors)
Expand Down

0 comments on commit 1cd20f4

Please sign in to comment.