]> git.ipfire.org Git - thirdparty/mdadm.git/commit
mdopen/open_mddev: Use md_get_array_info() to determine valid array
authorJes Sorensen <Jes.Sorensen@gmail.com>
Wed, 5 Apr 2017 19:44:20 +0000 (15:44 -0400)
committerJes Sorensen <Jes.Sorensen@gmail.com>
Wed, 5 Apr 2017 19:44:20 +0000 (15:44 -0400)
commit40b054e1dc9e334621fd2081bf6fc46b01dd7ef4
treed316808bb50b44a94a8db5d802a586ab89f3bc8d
parent15d924d363a2bc02aa4a489241333be3d7820978
mdopen/open_mddev: Use md_get_array_info() to determine valid array

md_get_array_info() can be used instead of md_get_version() to
determine this is in fact a valid array.

Signed-off-by: Jes Sorensen <Jes.Sorensen@gmail.com>
mdopen.c