[PATCH openEuler-22.03-LTS 11/22] block: return errors from blk_register_region