]> git.ipfire.org Git - thirdparty/mdadm.git/commit
sysfs/sysfs_read: Count working_disks
authorJes Sorensen <jsorensen@fb.com>
Tue, 9 May 2017 21:09:40 +0000 (17:09 -0400)
committerJes Sorensen <jsorensen@fb.com>
Tue, 9 May 2017 21:09:40 +0000 (17:09 -0400)
commit8b0ebd645202b627982eb3ed9fc72583c4f245d3
tree193207b491f8f482631baf746e66645bf016462a
parentb98943a4f889b466a3d07264068042b18c620d33
sysfs/sysfs_read: Count working_disks

This counts working_disks the same way as get_array_info counts it in
the kernel.

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