Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 311563
b: refs/heads/master
c: f456309
h: refs/heads/master
i:
  311561: f7be087
  311559: e52ab20
v: v3
  • Loading branch information
NeilBrown committed Jul 3, 2012
1 parent 0bd70b8 commit e5d23e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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: 32644afd8975d19174bcb9ba34687c32dd810a09
refs/heads/master: f456309106e9657645c81bce1a6bb3230393564e
3 changes: 1 addition & 2 deletions trunk/drivers/md/md.c
Original file line number Diff line number Diff line change
Expand Up @@ -5784,8 +5784,7 @@ static int add_new_disk(struct mddev * mddev, mdu_disk_info_t *info)
super_types[mddev->major_version].
validate_super(mddev, rdev);
if ((info->state & (1<<MD_DISK_SYNC)) &&
(!test_bit(In_sync, &rdev->flags) ||
rdev->raid_disk != info->raid_disk)) {
rdev->raid_disk != info->raid_disk) {
/* This was a hot-add request, but events doesn't
* match, so reject it.
*/
Expand Down

0 comments on commit e5d23e7

Please sign in to comment.