diff options
author | NeilBrown <neilb@suse.de> | 2010-06-30 17:20:38 +1000 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2010-06-30 17:20:38 +1000 |
commit | b3b4e8a7a229cccca915421329a5319f996b0842 (patch) | |
tree | 4ce51feb3e658720b78750f4da215cb5d84e3d95 /Assemble.c | |
parent | 7efa6bc34ff0357a491e64495a9b3a7483971000 (diff) | |
download | mdadm-b3b4e8a7a229cccca915421329a5319f996b0842.tar.gz mdadm-b3b4e8a7a229cccca915421329a5319f996b0842.tar.xz mdadm-b3b4e8a7a229cccca915421329a5319f996b0842.zip |
Avoid skipping devices where removing all faulty/detached devices.
When using 0.90 metadata, devices can be renumbered when
earlier devices are removed.
So when iterating all devices looking for 'failed' or 'detached'
devices, we need to re-check the same slot we checked last time
to see if maybe it has a different device now.
Reported-by: Jim Paris <jim@jtan.com>
Resolves-Debian-Bug: 587550
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'Assemble.c')
0 files changed, 0 insertions, 0 deletions