diff options
| author | Kaixu Xia <[email protected]> | 2020-10-10 16:10:16 +0800 |
|---|---|---|
| committer | Theodore Ts'o <[email protected]> | 2020-10-18 10:37:26 -0400 |
| commit | d3e7d20befd9d07db2955015a3f294c0a0a771d3 (patch) | |
| tree | 2ffe9d71f346dc1afbc24217c493b8097822c69d /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | d1e18b8824dd50cff255e6cecf515ea598eaf9f0 (diff) | |
ext4: use the normal helper to get the actual inode
Here we use the READ_ONCE to fix race conditions in ->d_compare() and
->d_hash() when they are called in RCU-walk mode, seems we can use
the normal helper d_inode_rcu() to get the actual inode.
Signed-off-by: Kaixu Xia <[email protected]>
Reviewed-by: Lukas Czerner <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions