Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 118496
b: refs/heads/master
c: a53a6c8
h: refs/heads/master
v: v3
  • Loading branch information
NeilBrown committed Nov 6, 2008
1 parent eefb2e9 commit f817494
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: cb3ac42b8af357fdd9ad838234245b39e5bdb7fe
refs/heads/master: a53a6c85756339f82ff19e001e90cfba2d6299a8
2 changes: 1 addition & 1 deletion trunk/drivers/md/raid10.c
Original file line number Diff line number Diff line change
Expand Up @@ -1137,7 +1137,7 @@ static int raid10_add_disk(mddev_t *mddev, mdk_rdev_t *rdev)
if (!enough(conf))
return -EINVAL;

if (rdev->raid_disk)
if (rdev->raid_disk >= 0)
first = last = rdev->raid_disk;

if (rdev->saved_raid_disk >= 0 &&
Expand Down

0 comments on commit f817494

Please sign in to comment.