OSDN Git Service

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)
commitf2e7e269a7525317752d472bb48a549780e87d22
treeb1c756bae1684221ff015ec06f5d097c2cac4129
parentc2968285925adb97b9aa4ede94c1f1ab61ce0925
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