summaryrefslogtreecommitdiff
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorNamjae Jeon <linkinjeon@kernel.org>2026-06-09 15:16:50 +0300
committerNamjae Jeon <linkinjeon@kernel.org>2026-06-09 15:51:02 +0300
commit5aec1efb11ab2a87d1e4be063830268f7980ec4a (patch)
tree226778b14dcb132bbb5b11d7c64c09eb3d663876 /include/linux/platform_data
parentfcf5bf0e8570798970e3ae8c95d04765ba2c5b97 (diff)
downloadlinux-5aec1efb11ab2a87d1e4be063830268f7980ec4a.tar.xz
ntfs: use direct pointer for inline data to avoid redundant allocation
Previously, NTFS used page allocation for IOMAP_INLINE to ensure that the inline_data pointer was page-aligned, avoiding strict boundary checks in the iomap core. Since the previous patch has removed the over-strict PAGE_SIZE boundary check in iomap, NTFS can now safely point iomap::inline_data directly to the MFT record. This change eliminates redundant memory allocations and memcpy operations in both read and write paths. It also simplifies the iomap_ops by removing the need for a iomap_end callback that was previously used to free the temporary page. Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'include/linux/platform_data')
0 files changed, 0 insertions, 0 deletions