aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorAl Viro <[email protected]>2018-05-06 16:15:20 +0000
committerAl Viro <[email protected]>2018-05-21 18:27:45 +0000
commit30da870ce4a4e007c901858a96e9e394a1daa74a (patch)
treed75869642ea5ce962ed9aa442db2784d3779ca2e /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentfix breakage caused by d_find_alias() semantics change (diff)
downloadkernel-30da870ce4a4e007c901858a96e9e394a1daa74a.tar.gz
kernel-30da870ce4a4e007c901858a96e9e394a1daa74a.zip
affs_lookup(): close a race with affs_remove_link()
we unlock the directory hash too early - if we are looking at secondary link and primary (in another directory) gets removed just as we unlock, we could have the old primary moved in place of the secondary, leaving us to look into freed entry (and leaving our dentry with ->d_fsdata pointing to a freed entry). Cc: [email protected] # 2.4.4+ Acked-by: David Sterba <[email protected]> Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions