[PATCH] md: avoid a deadlock when removing a device from an md array via sysfs