aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorRohith Surabattula <[email protected]>2021-05-05 10:56:47 +0000
committerSteve French <[email protected]>2021-05-20 02:11:26 +0000
commit860b69a9d77160d21ca00357fd6c5217f9d41fb1 (patch)
tree5668410148272ff6aaacdc8418320f79b14f503f /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentcifs: Fix inconsistent indenting (diff)
downloadkernel-860b69a9d77160d21ca00357fd6c5217f9d41fb1.tar.gz
kernel-860b69a9d77160d21ca00357fd6c5217f9d41fb1.zip
Fix kernel oops when CONFIG_DEBUG_ATOMIC_SLEEP is enabled.
Removed oplock_break_received flag which was added to achieve synchronization between oplock handler and open handler by earlier commit. It is not needed because there is an existing lock open_file_lock to achieve the same. find_readable_file takes open_file_lock and then traverses the openFileList. Similarly, cifs_oplock_break while closing the deferred handle (i.e cifsFileInfo_put) takes open_file_lock and then sends close to the server. Added comments for better readability. Signed-off-by: Rohith Surabattula <[email protected]> Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions