aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
diff options
context:
space:
mode:
authorJan Kara <[email protected]>2018-09-27 11:23:32 +0000
committerDan Williams <[email protected]>2018-09-27 17:56:15 +0000
commitf52afc93cd018fe6910133a05d44671192d1aeb0 (patch)
tree32137752634c7f3c0f4efecfc91d64551bed047c /drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
parentLinux 4.19-rc5 (diff)
downloadkernel-f52afc93cd018fe6910133a05d44671192d1aeb0.tar.gz
kernel-f52afc93cd018fe6910133a05d44671192d1aeb0.zip
dax: Fix deadlock in dax_lock_mapping_entry()
When dax_lock_mapping_entry() has to sleep to obtain entry lock, it will fail to unlock mapping->i_pages spinlock and thus immediately deadlock against itself when retrying to grab the entry lock again. Fix the problem by unlocking mapping->i_pages before retrying. Fixes: c2a7d2a11552 ("filesystem-dax: Introduce dax_lock_mapping_entry()") Reported-by: Barret Rhoden <[email protected]> Signed-off-by: Jan Kara <[email protected]> Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c')
0 files changed, 0 insertions, 0 deletions