summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2024-01-09 13:06:57 +0300
committerJan Kara <jack@suse.cz>2024-01-23 21:21:10 +0300
commit2ed0d3d4fee199869e9aef09bc86ceed9d79b978 (patch)
tree3612b6f245c78baf70497a71201b3c310173e15e /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentf6766303c0f2ffbcc640ef2701984a81a274aff2 (diff)
downloadlinux-2ed0d3d4fee199869e9aef09bc86ceed9d79b978.tar.xz
udf: Avoid GFP_NOFS allocation in udf_symlink()
The GFP_NOFS allocation in udf_symlink() is called only under inode->i_rwsem and UDF_I(inode)->i_data_sem. The first is safe wrt reclaim, the second should be as well but allocating unde this lock is actually unnecessary. Move the allocation from under i_data_sem and change it to GFP_KERNEL. Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions