md-cluster: split recover_slot for future code reuse
authorGuoqing Jiang <gqjiang@suse.com>
Fri, 10 Jul 2015 08:54:03 +0000 (16:54 +0800)
committerNeilBrown <neilb@suse.com>
Mon, 31 Aug 2015 17:40:41 +0000 (19:40 +0200)
commit05cd0e51769a51f53c68e83976c83653f6ab1595
treeb07bbeb782f9ca5f795547e7cd489f03ff1eed17
parentb89f704a8ddf7be1a66af9aad350226ae283292f
md-cluster: split recover_slot for future code reuse

Make recover_slot as a wraper to __recover_slot, since the
logic of __recover_slot can be reused for the condition
when other nodes need to take over the resync job.

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