Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 230658
b: refs/heads/master
c: bf2cb0d
h: refs/heads/master
v: v3
  • Loading branch information
NeilBrown committed Jan 13, 2011
1 parent b8cd0e6 commit 88dc18e
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: ba1b41b6b4e30cb66ae2775faadea05cae3ce61c
refs/heads/master: bf2cb0dab8c97f00a71875d9b13dbac17a2f47ca
2 changes: 1 addition & 1 deletion trunk/drivers/md/md.c
Original file line number Diff line number Diff line change
Expand Up @@ -3126,7 +3126,7 @@ level_store(mddev_t *mddev, const char *buf, size_t len)
char nm[20];
if (rdev->raid_disk < 0)
continue;
if (rdev->new_raid_disk > mddev->raid_disks)
if (rdev->new_raid_disk >= mddev->raid_disks)
rdev->new_raid_disk = -1;
if (rdev->new_raid_disk == rdev->raid_disk)
continue;
Expand Down

0 comments on commit 88dc18e

Please sign in to comment.