]> git.ipfire.org Git - thirdparty/mdadm.git/commit
FIX: Cannot load container information
authorAdam Kwolek <adam.kwolek@intel.com>
Wed, 12 Jan 2011 23:15:54 +0000 (10:15 +1100)
committerNeilBrown <neilb@suse.de>
Wed, 12 Jan 2011 23:15:54 +0000 (10:15 +1100)
commiteb744788d10fd038fd57920149615775bc4b121c
tree9f5fe0ba3e6318bc17905ee1cbd90f4e10ad28cc
parent819bc6345e0e039bce2c1effe0e6603a5cb4bf95
FIX: Cannot load container information

When container is passed to grow_reshape(), load_container() function
has to be used to get all required information from metadata.
So load_super is never correct here - in particular, cfd is a
'container fd' so we must 'load_container' on it.

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