[PATCH openEuler-22.03-LTS 12/22] block: add error handling for device_add_disk / add_disk