]> git.ipfire.org Git - thirdparty/mdadm.git/commit - Manage.c
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:01 +0000 (10:45 +1100)
commit5b660791b4afb9b24b13cbf4877ea62e4e832537
tree6859c0e4c64c193dfacbce2d62d1f2c981806190
parentb545e14a2142b946446cf80127c7c8801dab55c8
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