Skip to content
Commit 2ed0d3d4 authored by Jan Kara's avatar Jan Kara
Browse files

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: default avatarJan Kara <jack@suse.cz>
parent f6766303
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment