diff options
author | Jan Kara <jack@suse.cz> | 2023-01-19 12:28:37 +0100 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2023-01-26 16:46:34 +0100 |
commit | 6a3b37e0ea20bcb50e519c75fae3387199f35400 (patch) | |
tree | 3de82574f6f6fec59e170073f4916e8e97ac0951 /include/linux/if_eql.h | |
parent | f950fd0529130a617b3da526da9fb6a896ce87c2 (diff) | |
download | linux-stable-6a3b37e0ea20bcb50e519c75fae3387199f35400.tar.gz linux-stable-6a3b37e0ea20bcb50e519c75fae3387199f35400.tar.bz2 linux-stable-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 'include/linux/if_eql.h')
0 files changed, 0 insertions, 0 deletions