]> git.baikalelectronics.ru Git - kernel.git/commit
md/raid10: pull the code that wait for blocked dev into one function
authorXiao Ni <xni@redhat.com>
Thu, 4 Feb 2021 07:50:45 +0000 (15:50 +0800)
committerSong Liu <songliubraving@fb.com>
Wed, 24 Mar 2021 23:29:07 +0000 (16:29 -0700)
commit7e0fa603cf5573062dd06a20433e2f7b0cf38b94
treeb1c756bae1684221ff015ec06f5d097c2cac4129
parentee9dab198cc8c1894cec1fb248e371fe942b91d5
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: Adrian Huang <ahuang12@lenovo.com>
Signed-off-by: Xiao Ni <xni@redhat.com>
Signed-off-by: Song Liu <songliubraving@fb.com>
drivers/md/raid10.c