Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 200569
b: refs/heads/master
c: 001048a
h: refs/heads/master
i:
  200567: 8674761
v: v3
  • Loading branch information
Maciej Trela authored and NeilBrown committed Jun 24, 2010
1 parent 7a93f13 commit 1d88c09
Show file tree
Hide file tree
Showing 2 changed files with 3 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: f73ea87375a1b2bf6c0be82bb9a3cb9d5ee7a407
refs/heads/master: 001048a318d48e93cb6a1246f3b20335b2a7c855
2 changes: 2 additions & 0 deletions trunk/drivers/md/raid0.c
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,7 @@ static void *raid0_takeover_raid5(mddev_t *mddev)

/* Set new parameters */
mddev->new_level = 0;
mddev->new_layout = 0;
mddev->new_chunk_sectors = mddev->chunk_sectors;
mddev->raid_disks--;
mddev->delta_disks = -1;
Expand Down Expand Up @@ -631,6 +632,7 @@ static void *raid0_takeover_raid10(mddev_t *mddev)

/* Set new parameters */
mddev->new_level = 0;
mddev->new_layout = 0;
mddev->new_chunk_sectors = mddev->chunk_sectors;
mddev->delta_disks = - mddev->raid_disks / 2;
mddev->raid_disks += mddev->delta_disks;
Expand Down

0 comments on commit 1d88c09

Please sign in to comment.