md: check the return value for metadata_update_start
authorGuoqing Jiang <gqjiang@suse.com>
Mon, 12 Oct 2015 09:21:30 +0000 (17:21 +0800)
committerGoldwyn Rodrigues <rgoldwyn@suse.com>
Mon, 12 Oct 2015 16:58:15 +0000 (11:58 -0500)
commit23b63f9fa82eed128b5c585cbfe10ced82d73e91
tree5857b6efbb0e67e07ddfd61d6239bbff4fba940b
parenta9720903d1415317e18f439917f760ec592f3e3b
md: check the return value for metadata_update_start

We shouldn't run related funs of md_cluster_ops in case
metadata_update_start returned failure.

Signed-off-by: Guoqing Jiang <gqjiang@suse.com>
drivers/md/md.c