Simplify codepath when removing a RAID disk
authorDavid Zeuthen <zeuthen@gmail.com>
Wed, 19 Sep 2012 16:26:59 +0000 (12:26 -0400)
committerDavid Zeuthen <zeuthen@gmail.com>
Wed, 19 Sep 2012 16:27:51 +0000 (12:27 -0400)
commitfb3df672113a380f2d7555bf5dcac0814b4a0c80
tree87f5b5311601af865d2a8db3a3873f8c55089eeb
parent69f649b74d3d469d6dfe2c9ddd2d2a3a32faff3c
Simplify codepath when removing a RAID disk

No need for two mdadm(8) invocations, can use --set-faulty and
--remove in the same invocation.

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
src/udiskslinuxmdraid.c