raid1: factor out a common routine to handle the completion of sync write
authorHou Tao <houtao1@huawei.com>
Sat, 27 Jul 2019 06:02:58 +0000 (14:02 +0800)
committerSong Liu <songliubraving@fb.com>
Wed, 7 Aug 2019 17:25:02 +0000 (10:25 -0700)
commit449808a254fd567d3dbeb11595a0af238c687c82
treec2dae411b91a0c6bf826e485eb22de2463f19547
parent0d8ed0e9bf9643f27f4816dca61081784dedb38d
raid1: factor out a common routine to handle the completion of sync write

It's just code clean-up.

Signed-off-by: Hou Tao <houtao1@huawei.com>
Signed-off-by: Song Liu <songliubraving@fb.com>
drivers/md/raid1.c