[PATCH openEuler-1.0-LTS 6/8] block: fix NULL pointer dereference in disk_release()