[PATCH openEuler-5.10 367/427] md: fix an incorrect NULL check in does_sb_need_changing