]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Detail: don't exit if ioctl has been successful
authorTomasz Majchrzak <tomasz.majchrzak@intel.com>
Wed, 24 May 2017 09:34:22 +0000 (11:34 +0200)
committerJes Sorensen <jsorensen@fb.com>
Wed, 24 May 2017 17:28:33 +0000 (13:28 -0400)
commit9b8fea914f82281c440cdce9dee6a3775265861c
tree23ab6d42edc8a55c495da33fc3ba2dcc243352bb
parent8fac4a54cbafdd8e0a6a0c0b3ce87f1bcdef3d9d
Detail: don't exit if ioctl has been successful

When GET_ARRAY_INFO ioctl is successful, mdadm exits with an error.
It breaks udev and no links in /dev/md are created.

Also change debug print to error print in the message indicating lack
of the link to facilitate debugging similar issues in the future.

Signed-off-by: Tomasz Majchrzak <tomasz.majchrzak@intel.com>
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
Detail.c
util.c