]> git.ipfire.org Git - thirdparty/mdadm.git/commit - Monitor.c
Monitor: Use md_array_active() instead of manually fiddling in sysfs
authorJes Sorensen <jsorensen@fb.com>
Mon, 8 May 2017 21:34:08 +0000 (17:34 -0400)
committerJes Sorensen <jsorensen@fb.com>
Mon, 8 May 2017 21:41:00 +0000 (17:41 -0400)
commitb9a0309c7fc3e6c1607d51ab3c3f8486478a65ef
tree2650286d0e54a8aae9c91cc855ee8b38b46a42a8
parent4224685fe9baf1df4c42bcb950c9a593efa0585f
Monitor: Use md_array_active() instead of manually fiddling in sysfs

This removes a pile of clutter that can easily behandled with a simple
check of array_state.

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