]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Manage: Manage_ro(): Use md_array_active()
authorJes Sorensen <jsorensen@fb.com>
Tue, 2 May 2017 14:40:07 +0000 (10:40 -0400)
committerJes Sorensen <jsorensen@fb.com>
Tue, 2 May 2017 14:41:23 +0000 (10:41 -0400)
commit80223cb4db3358a24c41a76414a3804c26d5ea3a
tree56c2691b3593d89c0c303793c4eddda6249e13ba
parent6921010d95dbc32c812aa8ffdbfa28e78b54b342
Manage: Manage_ro(): Use md_array_active()

One call less to md_get_array_info() for determining whether an array
is active or not.

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