[PATCH openEuler-5.10-LTS 06/21] block: fix sleeping function called from invalid context in part_get_stat_info()