aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorAhmed Samy <[email protected]>2016-04-17 05:37:09 +0000
committerMike Snitzer <[email protected]>2016-04-17 15:24:46 +0000
commit6545b60baaf880b0cd29a5e89dbe745a06027e89 (patch)
treee62ed5c8c4263e76c339804d74b47caff975076f /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentdm cache metadata: fix READ_LOCK macros and cleanup WRITE_LOCK macros (diff)
downloadkernel-6545b60baaf880b0cd29a5e89dbe745a06027e89.tar.gz
kernel-6545b60baaf880b0cd29a5e89dbe745a06027e89.zip
dm cache metadata: fix cmd_read_lock() acquiring write lock
Commit 9567366fefdd ("dm cache metadata: fix READ_LOCK macros and cleanup WRITE_LOCK macros") uses down_write() instead of down_read() in cmd_read_lock(), yet up_read() is used to release the lock in READ_UNLOCK(). Fix it. Fixes: 9567366fefdd ("dm cache metadata: fix READ_LOCK macros and cleanup WRITE_LOCK macros") Cc: [email protected] Signed-off-by: Ahmed Samy <[email protected]> Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions