]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Fix regression with removing 'failed' and 'detached' devices.
authorNeilBrown <neilb@suse.de>
Mon, 14 Feb 2011 23:45:01 +0000 (10:45 +1100)
committerNeilBrown <neilb@suse.de>
Mon, 14 Feb 2011 23:45:42 +0000 (10:45 +1100)
commit47573b0015943efd0564a6db6fd17fd8a7e76b39
tree20e0879f5c8ea5a19b974c77eb4e3ac34493317e
parentf58dd437412348b77bc09b79c656cf3472e9913d
Fix regression with removing 'failed' and 'detached' devices.

If a request to remove all 'failed' or 'detached' devices chooses to
remove the first device, it will not actually try the removal and will
skip any following devices.

This fixes it.

Reported-by: Rémi Rérolle <rrerolle@lacie.com>
Tested-by: Rémi Rérolle <rrerolle@lacie.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Manage.c