summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorNamjae Jeon <linkinjeon@kernel.org>2026-10-07 17:12:45 +0900
committerNamjae Jeon <linkinjeon@kernel.org>2026-10-07 22:17:33 +0900
commit1e03db31119eb1089fba995d8d1dc7f6a5dd3268 (patch)
tree6f827d8e3010fc11b55e1b6bd8e8e8b4d644f04b /tools/lib/python
parent8f008073a9def9468768d9f832778a0be61f6ff2 (diff)
downloadlinux-next-1e03db31119eb1089fba995d8d1dc7f6a5dd3268.tar.gz
linux-next-1e03db31119eb1089fba995d8d1dc7f6a5dd3268.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 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions