Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 139934
b: refs/heads/master
c: 18b0033
h: refs/heads/master
v: v3
  • Loading branch information
Andre Noll authored and NeilBrown committed Mar 31, 2009
1 parent 200bc8c commit d3bc111
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: b522adcde9c4d3fb7b579cfa9160d8bde7744be8
refs/heads/master: 18b0033491f584a2d79697da714b1ef9d6b27d22
2 changes: 1 addition & 1 deletion trunk/drivers/md/raid5.c
Original file line number Diff line number Diff line change
Expand Up @@ -4331,7 +4331,7 @@ static int run(mddev_t *mddev)
*/
sector_t here_new, here_old;
int old_disks;
int max_degraded = (mddev->level == 5 ? 1 : 2);
int max_degraded = (mddev->level == 6 ? 2 : 1);

if (mddev->new_level != mddev->level ||
mddev->new_layout != mddev->layout ||
Expand Down

0 comments on commit d3bc111

Please sign in to comment.