[PATCH openEuler-1.0-LTS 30/33] md: add checkings before flush md_misc_wq