]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Manage: fix removal of non-existent devices.
authorNeilBrown <neilb@suse.de>
Mon, 11 Aug 2014 00:30:42 +0000 (10:30 +1000)
committerNeilBrown <neilb@suse.de>
Mon, 11 Aug 2014 00:34:41 +0000 (10:34 +1000)
commitb47024f1c5fde5d4fbc65807b9b29e06c056584e
treef6989475b1a311ee28adb363f58f9213941fe15b
parentcc742d38071c631311309b68b51f8938cdf916be
Manage: fix removal of non-existent devices.

"--remove detached" and others stopped working a while
back when I refactored some code.
For 'remove' and  'fail', the device may not exist so
if it is  "MM:mm", (e.g. added by "detached"), just parse
out the numbers.

Reported-by: Killian De Volder <killian.de.volder@megasoft.be>
Signed-off-by: NeilBrown <neilb@suse.de>
Manage.c