diff options
author | Felix Kuehling <Felix.Kuehling@amd.com> | 2022-11-03 17:01:46 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-11-09 17:22:37 -0500 |
commit | 2d2ccc4cbf440931843e64974da9fcd129d401a8 (patch) | |
tree | 2de48a8614e8277ec97be1e741b2c31644aeb4c7 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h | |
parent | bcde9dad1bfa3754e004c14774d42e1f1210efe9 (diff) | |
download | linux-2d2ccc4cbf440931843e64974da9fcd129d401a8.tar.gz linux-2d2ccc4cbf440931843e64974da9fcd129d401a8.tar.bz2 linux-2d2ccc4cbf440931843e64974da9fcd129d401a8.zip |
drm/amdkfd: Fix error handling in kfd_criu_restore_events
mutex_unlock before the exit label because all the error code paths that
jump there didn't take that lock. This fixes unbalanced locking errors
in case of restore errors.
Fixes: 40e8a766a761 ("drm/amdkfd: CRIU checkpoint and restore events")
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h')
0 files changed, 0 insertions, 0 deletions