Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 139928
b: refs/heads/master
c: e9d4758
h: refs/heads/master
v: v3
  • Loading branch information
NeilBrown committed Mar 31, 2009
1 parent ac81610 commit 8966b1a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b3546035277847028df650b147469fc943cf5c71
refs/heads/master: e9d4758f6e93488dc719a1445ce54659a570938f
5 changes: 5 additions & 0 deletions trunk/drivers/md/raid5.c
Original file line number Diff line number Diff line change
Expand Up @@ -4967,6 +4967,11 @@ static void *raid5_takeover(mddev_t *mddev)

if (mddev->level == 1)
return raid5_takeover_raid1(mddev);
if (mddev->level == 4) {
mddev->new_layout = ALGORITHM_PARITY_N;
mddev->new_level = 5;
return setup_conf(mddev);
}

return ERR_PTR(-EINVAL);
}
Expand Down

0 comments on commit 8966b1a

Please sign in to comment.