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>
This commit is contained in:
Hou Tao 2019-07-27 14:02:58 +08:00 • committed by Song Liu
commit 449808a254