]> git.ipfire.org Git - thirdparty/mdadm.git/commit
FIX: Make expansion counter usable
authorAdam Kwolek <adam.kwolek@intel.com>
Wed, 9 Mar 2011 22:58:35 +0000 (09:58 +1100)
committerNeilBrown <neilb@suse.de>
Wed, 9 Mar 2011 22:58:35 +0000 (09:58 +1100)
commit140320165221099dd637fc84b60fe53f0d714c77
tree255ddcea4f54a2306e7f26bd53a6c838982c18f2
parentb8063f0770e2a5d4a6dedc3bdc6ee114d1a7c4b7
FIX: Make expansion counter usable

Currently whole array geometry is set in sysfs_set_array(),
so none of disks (even for expansion) should fail during sysfs_add_disk()
Due to this expansion counter should be used for reshaped array when
disk slot is bigger than number of disks in array.

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