[PATCH openEuler-22.03-LTS 09/17] block: fix error unwinding in device_add_disk