summaryrefslogtreecommitdiffstats
path: root/super-intel.c
diff options
context:
space:
mode:
authorMariusz Tkaczyk <mariusz.tkaczyk@intel.com>2017-08-10 11:43:48 +0200
committerJes Sorensen <jsorensen@fb.com>2017-08-16 10:19:38 +0200
commita822017f30e0dadc60a687900c2aa4da32e09a93 (patch)
treea61e6e4cc88c21ac185b89c6b16d793b81701f60 /super-intel.c
parentudev rules: introduce rules for cluster-md to confirm device (diff)
downloadmdadm-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