]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Grow: fix small bug when reshape interrupted.
authorNeilBrown <neilb@suse.de>
Wed, 3 Jul 2013 01:39:28 +0000 (11:39 +1000)
committerNeilBrown <neilb@suse.de>
Thu, 4 Jul 2013 07:10:37 +0000 (17:10 +1000)
commit737f8574cdba8ac97e709c75a99088e83f5552b1
tree97ae5d54cfa12a62f9de870e1125a45e7cf6b296
parentaef14b9e498ca5a9c6f46cbf422b4b73ec935d62
Grow: fix small bug when reshape interrupted.

progress_reshape() may not set reshape_completed if the reshape is
interrupted, so we need to initialize it to the current value before
hand, so the value used afterwards is credible.

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