diff options
author | Jan Vesely <jan.vesely@rutgers.edu> | 2018-05-10 19:22:17 -0400 |
---|---|---|
committer | Jan Vesely <jan.vesely@rutgers.edu> | 2018-05-25 12:12:00 -0400 |
commit | 712fa0f3f420a7b9b42ae6d6fcb513aca97d541d (patch) | |
tree | 88dd0f96f7610f09c450fd042ba3a911ae5e4585 /amdgpu/util_hash_table.c | |
parent | 35615697f787f0ac46a2c00e61651cba668e6ef7 (diff) | |
download | external_libdrm-712fa0f3f420a7b9b42ae6d6fcb513aca97d541d.tar.gz external_libdrm-712fa0f3f420a7b9b42ae6d6fcb513aca97d541d.tar.bz2 external_libdrm-712fa0f3f420a7b9b42ae6d6fcb513aca97d541d.zip |
amdgpu: Take a lock before removing devices from fd_tab hash table.
Close the file descriptors under lock as well.
v2: close fds after removing from hash table
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'amdgpu/util_hash_table.c')
0 files changed, 0 insertions, 0 deletions