]> git.ipfire.org Git - thirdparty/mdadm.git/commit - Incremental.c
container_members_max_degradation: Switch to using syfs for disk info
authorJes Sorensen <jsorensen@fb.com>
Fri, 5 May 2017 16:06:57 +0000 (12:06 -0400)
committerJes Sorensen <jsorensen@fb.com>
Fri, 5 May 2017 16:06:57 +0000 (12:06 -0400)
commit74d293a2535ef8726a9d43577dad4a908f471a0e
tree467d03e5129ea81341d2d2a6c28aa0a5dd318fb1
parent64ec81da7a70adcdc0dbccaacc69aaf90edb4011
container_members_max_degradation: Switch to using syfs for disk info

With sysfs now providing the necessary active_disks info, switch to
sysfs and eliminate one more use of md_get_array_info(). We can do
this unconditionally since we wouldn't get here witout sysfs being
available.

Signed-off-by: Jes Sorensen <jsorensen@fb.com>
Incremental.c