[PATCH openEuler-22.03-LTS 14/22] block: fix error unwinding in device_add_disk