diff options
author | Jan Kara <jack@suse.cz> | 2022-12-21 14:18:23 +0300 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2023-01-09 12:39:53 +0300 |
commit | e57191a8d40086537d505241a8ee49d8b62ce1d6 (patch) | |
tree | fbef25e7c56b0706111fec1ec56b7532abc6a984 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 0aba4860b0d0216a1a300484ff536171894d49d8 (diff) | |
download | linux-e57191a8d40086537d505241a8ee49d8b62ce1d6.tar.xz |
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 <jack@suse.cz>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions