]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Grow:make sure 'array' is up-to-date before SET_ARRAY_INFO
authorNeilBrown <neilb@suse.de>
Mon, 31 Jan 2011 04:30:15 +0000 (15:30 +1100)
committerNeilBrown <neilb@suse.de>
Mon, 31 Jan 2011 04:30:15 +0000 (15:30 +1100)
commit6ef421be178128544bfd488fba39503b7384a387
tree8b9fd0d805cfb1bf167a90bb8ba6ce8f61360e1b
parentcdc60681488dfbe8fa855d474027b0f8e2c7c129
Grow:make sure 'array' is up-to-date before SET_ARRAY_INFO

The value of 'array' might not be current, so SET_ARRAY_INFO
and fail.  Just refresh it before setting raid_disks.

Signed-off-by: NeilBrown <neilb@suse.de>
Grow.c