]> git.ipfire.org Git - thirdparty/mdadm.git/commit - super-intel.c
imsm: fix missing error message during migration
authorPawel Baldysiak <pawel.baldysiak@intel.com>
Tue, 24 Jan 2017 13:29:33 +0000 (14:29 +0100)
committerJes Sorensen <Jes.Sorensen@gmail.com>
Fri, 27 Jan 2017 01:56:28 +0000 (20:56 -0500)
commit565cc99e341b3021ad26ff6da19a67d4e4abffde
tree8581496e43bc9769c7bdb820e86486ddcd86463d
parent53835cf50023aaad6887b647a3aaab524bd9b39e
imsm: fix missing error message during migration

If user tries to migrate from raid0 to raid5 and there is no spare
drive to perform it - mdadm will exit with errorcode, but
no error message is printed.

Print error instead of debug message when this condition occurs,
so user is informed why requested migration is not started.

Signed-off-by: Pawel Baldysiak <pawel.baldysiak@intel.com>
Signed-off-by: Jes Sorensen <Jes.Sorensen@gmail.com>
super-intel.c