Commit a562496a authored by Neil Brown's avatar Neil Brown Committed by James Bottomley

[PATCH] Small bug fix for multipath.

by the nature of multipath, already be in-sync, so we should set the
in-sync flag.
parent 787ba09c
...@@ -283,6 +283,7 @@ static int multipath_add_disk(mddev_t *mddev, mdk_rdev_t *rdev) ...@@ -283,6 +283,7 @@ static int multipath_add_disk(mddev_t *mddev, mdk_rdev_t *rdev)
p->rdev = rdev; p->rdev = rdev;
conf->working_disks++; conf->working_disks++;
rdev->raid_disk = path; rdev->raid_disk = path;
rdev->in_sync = 1;
found = 1; found = 1;
} }
spin_unlock_irq(&conf->device_lock); spin_unlock_irq(&conf->device_lock);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment