[PATCH 06/11] Fix detection of inactive md arrays. (#873031)