diff options
author | Jan Kara <jack@suse.cz> | 2024-01-09 13:06:57 +0300 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2024-01-23 21:21:10 +0300 |
commit | 2ed0d3d4fee199869e9aef09bc86ceed9d79b978 (patch) | |
tree | 3612b6f245c78baf70497a71201b3c310173e15e /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | f6766303c0f2ffbcc640ef2701984a81a274aff2 (diff) | |
download | linux-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