diff options
| author | Namjae Jeon <linkinjeon@kernel.org> | 2026-10-07 17:12:45 +0900 |
|---|---|---|
| committer | Namjae Jeon <linkinjeon@kernel.org> | 2026-10-20 18:41:56 +0900 |
| commit | 58442927b729acbe2b7c7f7ad888d040c44faa3e (patch) | |
| tree | 1ff488612caa20ce98d5c4cdb320df3afd3ffc3d /scripts/Makefile.thinlto | |
| parent | 3e38885ff66c797fc90cf90ab94c372bb4386e84 (diff) | |
| download | linux-58442927b729acbe2b7c7f7ad888d040c44faa3e.tar.gz linux-58442927b729acbe2b7c7f7ad888d040c44faa3e.zip | |
ntfs: clear stale pagecache on initialized-size extension
iomap_zero_range() skips holes, so EOF-polluted cache data can survive
gap zeroing. Discard the uninitialized cache range before advancing
initialized_size so later reads cannot expose stale bytes.
Perform the cleanup in ntfs_extend_initialized_size() so both file writes
and shared writable mmap preparation use it. Hold the invalidate lock
while reading initialized_size, clearing the cache, zeroing the gap, and
updating the attribute. Release the lock on every exit path.
Fixes: af0db57d4293 ("ntfs: update inode operations")
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
