Jan Kara e57191a8d4 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>
2023-01-09 10:39:53 +01:00
..
2022-09-12 13:03:20 +02:00
2021-10-18 14:43:23 -06:00
2021-08-11 16:54:44 +02:00
2023-01-09 10:39:51 +01:00
2021-08-12 16:07:09 +02:00