diff options
author | Jan Kara <jack@suse.cz> | 2024-01-09 11:06:57 +0100 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2024-01-23 19:21:10 +0100 |
commit | 2ed0d3d4fee199869e9aef09bc86ceed9d79b978 (patch) | |
tree | 3612b6f245c78baf70497a71201b3c310173e15e /sound/x86 | |
parent | udf: Remove GFP_NOFS from dir iteration code (diff) | |
download | linux-2ed0d3d4fee199869e9aef09bc86ceed9d79b978.tar.xz linux-2ed0d3d4fee199869e9aef09bc86ceed9d79b978.zip |
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 'sound/x86')
0 files changed, 0 insertions, 0 deletions