Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 334259
b: refs/heads/master
c: e56108d
h: refs/heads/master
i:
  334257: 70f87e8
  334255: fc4cb0a
v: v3
  • Loading branch information
NeilBrown committed Oct 11, 2012
1 parent 86f97c9 commit c714768
Show file tree
Hide file tree
Showing 2 changed files with 3 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: db07d85ef6395d4768c6cdceeb2ea4878bd2a3f4
refs/heads/master: e56108d65f8705170d238858616728359542aebb
3 changes: 2 additions & 1 deletion trunk/drivers/md/raid5.c
Original file line number Diff line number Diff line change
Expand Up @@ -5871,7 +5871,8 @@ static int check_reshape(struct mddev *mddev)
if (!check_stripe_cache(mddev))
return -ENOSPC;

return resize_stripes(conf, conf->raid_disks + mddev->delta_disks);
return resize_stripes(conf, (conf->previous_raid_disks
+ mddev->delta_disks));
}

static int raid5_start_reshape(struct mddev *mddev)
Expand Down

0 comments on commit c714768

Please sign in to comment.