md: do_md_run(): Fix misleading error message.
authorAndre Noll <maan@systemlinux.org>
Tue, 25 Mar 2008 23:07:03 +0000 (00:07 +0100)
committerNeil Brown <neilb@suse.de>
Tue, 8 Jul 2008 00:52:15 +0000 (10:52 +1000)
commit13e53df354caea8986df951dcb6353c823e1f858
tree16c6c2cde80cea148d467cffe7d08bfee042091e
parent2f9618ce63cb049c5587f5c650f2725c0035aa96
md: do_md_run(): Fix misleading error message.

In case pers->run() succeeds but creating the bitmap fails, we
print an error message stating that pers->run() has failed.

Print this message only if pers->run() really failed.

Signed-off-by: Andre Noll <maan@systemlinux.org>
Signed-off-by: Neil Brown <neilb@suse.de>
drivers/md/md.c