[PATCH openEuler-22.03-LTS 06/17] block: return errors from blk_register_region