diff options
| author | 2026-09-21 22:40:16 +0900 | |
|---|---|---|
| committer | 2026-10-20 18:41:32 +0900 | |
| commit | 7823d72305f03928f3093e91cd7159542981162b (patch) | |
| tree | e62f5bbc7547fa1e8e6edc75a3014b44eac08574 /scripts/Makefile.thinlto | |
| parent | ntfs: use sync flag for direct MFT writes (diff) | |
ntfs: trigger page_mkwrite for native 4Kn size extension
On native 4Kn volumes, pagecache_isize_extended() can leave a writable
mapping for a partial old-EOF page. A subsequent shared mmap write can
then bypass ntfs_filemap_page_mkwrite(), leaving NTFS initialized_size at
the old EOF.
Invalidate the partial old-EOF page after size extension, independent of
the filesystem block size, so the next mmap write enters the NTFS
page_mkwrite path. Apply the same helper to zero-fill fallocate
extensions and compare the actual new size after the operation so
extensions overlapping the old EOF are handled as well.
Fixes: 115380f9a2f9 ("ntfs: update mft operations")
Cc: stable@vger.kernel.org
Signed-off-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
