summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorNamjae Jeon <linkinjeon@kernel.org>2026-06-15 21:07:19 +0900
committerNamjae Jeon <linkinjeon@kernel.org>2026-08-19 18:16:36 +0900
commit6e03fbd5f772ad24ea64f7632e4d0d73184787ca (patch)
tree18857c6f4a85889c738a00a54fa687c36020abcb /tools/perf/scripts/python/bin
parentf6ce4cbcc53cf258ae0c8f77106f2eab40a1e412 (diff)
ntfs: fix kmap_local_page() usage in compress
Several compressed I/O paths discard the address returned by kmap_local_page() and later access or unmap the page using page_address(). This is invalid for highmem pages, and local mappings must also be unmapped using the address returned by kmap_local_page(). Map each destination page in ntfs_decompress() only while producing the current sub-block. Use memcpy_from_page(), memcpy_to_page(), and memzero_page() for the other page accesses. Remove unnecessary local mappings from ntfs_write_cb(), where pages are accessed through the vmap() mapping. Fixes: 495e90fa3348 ("ntfs: update attrib operations") Reported-by: Matthew Wilcox <willy@infradead.org> Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions