diff options
author | 2023-01-19 12:46:09 +0100 | |
---|---|---|
committer | 2023-01-26 16:46:35 +0100 | |
commit | b9a861fd527ab123e76effb492b4eb7e8115d4ca (patch) | |
tree | f51dab17dc5495d57f675b37a7dbd6a131d2daf4 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | udf: Simplify error handling in udf_file_write_iter() (diff) | |
download | wireguard-linux-b9a861fd527ab123e76effb492b4eb7e8115d4ca.tar.xz wireguard-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 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions