]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Clean up exit paths from reshape_array.
authorNeilBrown <neilb@suse.de>
Thu, 13 Jan 2011 01:57:25 +0000 (12:57 +1100)
committerNeilBrown <neilb@suse.de>
Thu, 13 Jan 2011 01:57:25 +0000 (12:57 +1100)
commit1cbc5680c8675d2e37a00988dbbe261ef40046cf
treed70fc1e3fe7f00ad9b1eba82b7c9d7330f47317a
parent6b2d630c7d9b5103a31f6353f31c4ea2564b86f6
Clean up exit paths from reshape_array.

We only 'goto release' on error, but that branch contained handling
for non-error conditions:  reloading metadata.  Obviously that doesn't
work.

So re-arrange the code to make it more of a straight line that is
easier to follow and reload the metadata if that might be at all
needed.

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