On 08/10/2017 05:43 AM, Mariusz Tkaczyk wrote:
The check for inactive array is incorrect as it compares it against active array. Introduce a new function md_is_array_active so the check is consistent across the code. As the output contains list of disks in the array include this information in sysfs read. Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@xxxxxxxxx> --- Detail.c | 15 +++++++-------- mdadm.h | 1 + util.c | 15 +++++++++------ 3 files changed, 17 insertions(+), 14 deletions(-)
Applied! Thanks, Jes -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html