diff options
author | Mariusz Tkaczyk <mariusz.tkaczyk@intel.com> | 2017-08-10 11:43:48 +0200 |
---|---|---|
committer | Jes Sorensen <jsorensen@fb.com> | 2017-08-16 10:19:38 +0200 |
commit | a822017f30e0dadc60a687900c2aa4da32e09a93 (patch) | |
tree | a61e6e4cc88c21ac185b89c6b16d793b81701f60 /super-intel.c | |
parent | udev rules: introduce rules for cluster-md to confirm device (diff) | |
download | mdadm-a822017f30e0dadc60a687900c2aa4da32e09a93.tar.xz mdadm-a822017f30e0dadc60a687900c2aa4da32e09a93.zip |
Detail: correct output for active arrays
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@intel.com>
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
Diffstat (limited to 'super-intel.c')
0 files changed, 0 insertions, 0 deletions