]> git.ipfire.org Git - thirdparty/mdadm.git/commit - Manage.c
Manage: fix regression on removing detached devices.
authorNeilBrown <neilb@suse.de>
Wed, 3 Mar 2010 02:16:24 +0000 (13:16 +1100)
committerNeilBrown <neilb@suse.de>
Wed, 3 Mar 2010 02:16:24 +0000 (13:16 +1100)
commit5a9de8db047646e1e59d90afc478d1820736324d
tree3925d5dea8fe206b42d3f613877df973f5e9bbec
parentc132678b18c1aeb3f3eaa2ece4aafebd5e2b47a6
Manage: fix regression on removing detached devices.

If /dev is static, a name may remain there after the
device has been detached from the system.
Using 'mdadm' to remove such a device from the array
should still work (even though "mdadm --remove detached"
might be preferred).

So when processing a device for '-r', don't insist on
being able to open the device.

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