summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorHongling Zeng <zenghongling@kylinos.cn>2026-10-28 16:06:55 +0800
committerNamjae Jeon <linkinjeon@kernel.org>2026-10-29 17:50:13 +0900
commitcf24d5d154c73d1ac79d7b73f8b42cf85167c5b8 (patch)
tree645316df536bfd539d63d7550899680a714e8fb5 /scripts/Makefile.thinlto
parent4b927614d92d7326f265d22b50ba7b4a33966e48 (diff)
downloadlinux-next-cf24d5d154c73d1ac79d7b73f8b42cf85167c5b8.tar.gz
linux-next-cf24d5d154c73d1ac79d7b73f8b42cf85167c5b8.zip
ntfs: keep the file size on a failed initialized-size extension
ntfs_extend_initialized_size() only extends the initialized size and never changes the data size, but on a failure it calls truncate_setsize() with the old initialized size, which shrinks the VFS size down to it and drops the page cache beyond that point. None of the callers rolls the shrunk size back. A buffered write into a hole has nothing to roll back - the data size never changed - so the file keeps the shrunk size even though the data size on disk is intact. The mmap and named stream callers return without any rollback either. The sizes did not change, so nothing needs the shrink. Remove it. Fixes: af0db57d4293 ("ntfs: update inode operations") Signed-off-by: Hongling Zeng <zenghongling@kylinos.cn> Reviewed-by: Baolin Liu <liubaolin@kylinos.cn> Reviewed-by: Hyunchul Lee <hyc.lee@gmail.com> Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions