diff options
| author | Namjae Jeon <linkinjeon@kernel.org> | 2026-06-09 15:16:50 +0300 |
|---|---|---|
| committer | Namjae Jeon <linkinjeon@kernel.org> | 2026-06-09 15:51:02 +0300 |
| commit | 5aec1efb11ab2a87d1e4be063830268f7980ec4a (patch) | |
| tree | 226778b14dcb132bbb5b11d7c64c09eb3d663876 /include/linux/platform_data | |
| parent | fcf5bf0e8570798970e3ae8c95d04765ba2c5b97 (diff) | |
| download | linux-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
