aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorHyunchul Lee <hyc.lee@gmail.com>2026-09-21 10:41:15 +0900
committerNamjae Jeon <linkinjeon@kernel.org>2026-10-20 18:41:34 +0900
commit055a8d19788f16d27f07e6ac40155460e3d227b3 (patch)
tree0111f681ef9c947692d49d2c6aa732799b65f387 /scripts/Makefile.thinlto
parentntfs: fix incorrect VCN units for index blocks in large clusters (diff)
ntfs: fix FITRIM bitmap indexing for large pages
The LCN bitmap has one bit per cluster, so a bitmap page represents PAGE_SIZE * 8 clusters. ntfs_trim_fs() still used a 15-bit shift when selecting the page. On arm64 with 16 KiB pages this selects the wrong bitmap page and can test or discard the wrong clusters. Compute bitmap indices from buf_clusters, use the page cluster base as the bit-search origin, and keep the requested range as the clipping boundary. Fixes: 11ccc9107dc4 ("ntfs: update runlist handling and cluster allocator") Signed-off-by: Hyunchul Lee <hyc.lee@gmail.com> Cc: Marek WesoĊ‚owski <marek@wesolowski.eu.org> Reviewed-by: Baolin Liu <liubaolin@kylinos.cn> Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions