]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Detail: determine array state from sysfs
authorJes Sorensen <jsorensen@fb.com>
Tue, 25 Apr 2017 15:40:27 +0000 (11:40 -0400)
committerJes Sorensen <jsorensen@fb.com>
Tue, 25 Apr 2017 15:40:27 +0000 (11:40 -0400)
commita4dcdb23ea639d14e92d1c86336de7ad505b2f7d
treeb63fc777c7e1136607e57ce7dcc0db58df2baff9
parentb75805662e7208799207a8e5f8a61f69a44888f0
Detail: determine array state from sysfs

This is easily obtained from sysfs as part of the existing call to
sysfs_read() and it simplifies the code a little too.

Another small step in the process of getting rid of the GET_ARRAY_STATE
ioctl.

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