diff options
| author | Xuewen Wang <wangxuewen@kylinos.cn> | 2026-09-24 09:45:11 +0800 |
|---|---|---|
| committer | Namjae Jeon <linkinjeon@kernel.org> | 2026-10-20 18:41:47 +0900 |
| commit | 3f5836568741bd761b04b6d4512ff7d924a4ef3e (patch) | |
| tree | b091ca31113eab07a96ca65c4b4b24dfffbd4a19 /scripts/Makefile.thinlto | |
| parent | c1bd2f1c22c2fa8c5f0f51f82afad23f2dd1bcf1 (diff) | |
| download | linux-3f5836568741bd761b04b6d4512ff7d924a4ef3e.tar.gz linux-3f5836568741bd761b04b6d4512ff7d924a4ef3e.zip | |
ntfs: bound the adjacent cluster in MFT bitmap extension
When the last MFT bitmap run reaches the volume boundary, the direct
allocation path tests the bit for nr_clusters, an invalid LCN. A clear
bit allows an out-of-volume allocation; a bitmap read failure aborts
extension even if valid clusters remain available.
Check the candidate LCN before accessing $Bitmap and fall back to
ntfs_cluster_alloc() with no locality hint when it is outside the volume.
Reviewed-by: Baolin Liu <liubaolin@kylinos.cn>
Signed-off-by: Xuewen Wang <wangxuewen@kylinos.cn>
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
