diff options
| author | Mihai Brodschi <m.brodschi@gmail.com> | 2026-05-11 20:19:04 +0300 |
|---|---|---|
| committer | Konstantin Komarov <almaz.alexandrovich@paragon-software.com> | 2026-06-02 17:02:37 +0200 |
| commit | 70d3855594cf6e8791970714b65cac3202d6160e (patch) | |
| tree | 81fc0aa454984b5966731eb8d5679e2d78dc6631 /include/linux/debugobjects.h | |
| parent | 723325dc9168ec0f3676a1d83f5c4a73ade9059a (diff) | |
ntfs3: Allocate iomap inline_data using alloc_page
This fixes a BUG reported in iomap_write_end_inline:
iomap_inline_data_valid checks that the inline_data fits within
a page. If the inline_data is allocated with kmemdup there's no
guarantee that it's page-aligned, so the check sometimes fails.
Allocate it with alloc_page to ensure it's page-aligned.
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=221446
Fixes: 099ef9ab9203 ("fs/ntfs3: implement iomap-based file operations")
Signed-off-by: Mihai Brodschi <m.brodschi@gmail.com>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
