Message ID | 20220620161043.3661-3-colyli@suse.de (mailing list archive) |
---|---|
State | Accepted, archived |
Delegated to: | Jes Sorensen |
Headers | show |
Series | mdadm-CI for-jes/20220620: patches for merge | expand |
diff --git a/util.c b/util.c index cc94f96e..38f0420e 100644 --- a/util.c +++ b/util.c @@ -267,7 +267,7 @@ int md_array_active(int fd) * GET_ARRAY_INFO doesn't provide access to the proper state * information, so fallback to a basic check for raid_disks != 0 */ - ret = ioctl(fd, GET_ARRAY_INFO, &array); + ret = md_get_array_info(fd, &array); } return !ret;