diff options
author | Jan Kara <jack@suse.cz> | 2023-01-19 12:46:09 +0100 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2023-01-26 16:46:35 +0100 |
commit | b9a861fd527ab123e76effb492b4eb7e8115d4ca (patch) | |
tree | f51dab17dc5495d57f675b37a7dbd6a131d2daf4 /fs/udf/udfdecl.h | |
parent | udf: Simplify error handling in udf_file_write_iter() (diff) | |
download | linux-b9a861fd527ab123e76effb492b4eb7e8115d4ca.tar.xz linux-b9a861fd527ab123e76effb492b4eb7e8115d4ca.zip |
udf: Protect truncate and file type conversion with invalidate_lock
Protect truncate and file type conversion in udf_file_write_iter() with
invalidate lock. That will allow us to serialize these paths with page
faults so that the page fault can determine the file type in a racefree
way.
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/udf/udfdecl.h')
0 files changed, 0 insertions, 0 deletions