]> git.ipfire.org Git - thirdparty/mdadm.git/commit
FIX: Set proper raid disks during migration
authorAdam Kwolek <adam.kwolek@intel.com>
Mon, 18 Apr 2011 00:31:15 +0000 (10:31 +1000)
committerNeilBrown <neilb@suse.de>
Mon, 18 Apr 2011 00:31:15 +0000 (10:31 +1000)
commita5062b1cb6ad51ebaa1f8b60e1cfe5408dbf17d7
treee59ff8e0d435feb0fab46a83fa291f621aa84dc3
parent178b8f353c4b4ffdf3bd4cd8c9dde37f64097da8
FIX: Set proper raid disks during migration

During migration raid_disks field contains new disks number now.
It should be set old disks number first and then new disks number
to allow md to calculate e.g. delta_disks parameter.

Signed-off-by: Adam Kwolek <adam.kwolek@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
sysfs.c