]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2a459a7b18ac68854d4a69b9afa889ce8f4dc9ae
tree16c6c2cde80cea148d467cffe7d08bfee042091e
parent86bdb5d8dba2b6b6d0216e2d8c51ce400cb4da1e
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