From: Zheng Qixing <zhengqixing@xxxxxxxxxx> Changes in v3: Code style modification in patch 1. Fix incorrect display of sync_action when raid is in resync. Zheng Qixing (2): md: add helper rdev_needs_recovery() md: fix sync_action incorrect display during resync drivers/md/md.c | 56 ++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 46 insertions(+), 10 deletions(-) -- 2.39.2