md/raid10: pull the code that wait for blocked dev into one function
The following patch will reuse these logics, so pull the same codes into one function. Tested-by: NAdrian Huang <ahuang12@lenovo.com> Signed-off-by: NXiao Ni <xni@redhat.com> Signed-off-by: NSong Liu <songliubraving@fb.com>
Showing
想要评论请 注册 或 登录