diff options
author | 2023-01-19 12:28:37 +0100 | |
---|---|---|
committer | 2023-01-26 16:46:34 +0100 | |
commit | 6a3b37e0ea20bcb50e519c75fae3387199f35400 (patch) | |
tree | 3de82574f6f6fec59e170073f4916e8e97ac0951 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | udf: Protect rename against modification of moved directory (diff) | |
download | wireguard-linux-6a3b37e0ea20bcb50e519c75fae3387199f35400.tar.xz wireguard-linux-6a3b37e0ea20bcb50e519c75fae3387199f35400.zip |
udf: Push i_data_sem locking into udf_expand_file_adinicb()
The checks we do in udf_setsize() and udf_file_write_iter() are safe to
do only with i_rwsem locked as it stabilizes both file type and file
size. Hence we don't need to lock i_data_sem before we enter
udf_expand_file_adinicb() which simplifies the locking somewhat.
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