diff options
| author | Xuewen Wang <wangxuewen@kylinos.cn> | 2026-09-24 09:45:13 +0800 |
|---|---|---|
| committer | Namjae Jeon <linkinjeon@kernel.org> | 2026-10-20 18:41:48 +0900 |
| commit | 0c3f2944e9060c31a221f32906267b827659b0c7 (patch) | |
| tree | 46c9edf5788bbd5a5d36826d6dba01d59d832b9f /scripts/Makefile.thinlto | |
| parent | 4d179eeb91a0ffd1e9c86484e2febf4dcca1137f (diff) | |
| download | linux-0c3f2944e9060c31a221f32906267b827659b0c7.tar.gz linux-0c3f2944e9060c31a221f32906267b827659b0c7.zip | |
ntfs: wait for the bitmap scan before MFT bitmap extension
If MFT bitmap extension fails before the initial $Bitmap scan completes,
rollback calls ntfs_bitmap_clear_bit(), which holds a folio lock while
ntfs_set_lcn_empty_bits() waits for the scan. The scanner deadlocks if it
still needs that folio.
Wait for the initial scan before taking the runlist or bitmap folio locks
and attempting allocation.
Fixes: 11ccc9107dc4 ("ntfs: update runlist handling and cluster allocator")
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
