diff options
author | Jan Kara <[email protected]> | 2022-12-21 12:18:23 +0100 |
---|---|---|
committer | Jan Kara <[email protected]> | 2023-01-09 10:39:53 +0100 |
commit | e57191a8d40086537d505241a8ee49d8b62ce1d6 (patch) | |
tree | fbef25e7c56b0706111fec1ec56b7532abc6a984 /scripts/generate_rust_analyzer.py | |
parent | 0aba4860b0d0216a1a300484ff536171894d49d8 (diff) |
udf: Move setting of i_lenExtents into udf_do_extend_file()
When expanding file for a write into a hole, we were not updating total
length of inode's extents properly. Move the update of i_lenExtents into
udf_do_extend_file() so that both expanding of file by truncate and
expanding of file by writing beyond EOF properly update the length of
extents. As a bonus, we also correctly update the length of extents when
only part of extents can be written.
Signed-off-by: Jan Kara <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions