diff options
author | Namjae Jeon <linkinjeon@kernel.org> | 2025-01-31 12:55:55 +0900 |
---|---|---|
committer | Namjae Jeon <linkinjeon@kernel.org> | 2025-03-05 21:53:19 +0900 |
commit | 9da33619e0ca53627641bc97d1b93ec741299111 (patch) | |
tree | c390dc9edbcbc4dea7e13e4c69cc5f01cad20e7e /drivers/fpga/xilinx-core.c | |
parent | 6697f819a10b238ccf01998c3f203d65d8374696 (diff) |
exfat: fix soft lockup in exfat_clear_bitmap
bitmap clear loop will take long time in __exfat_free_cluster()
if data size of file/dir enty is invalid.
If cluster bit in bitmap is already clear, stop clearing bitmap go to
out of loop.
Fixes: 31023864e67a ("exfat: add fat entry operations")
Reported-by: Kun Hu <huk23@m.fudan.edu.cn>, Jiaji Qin <jjtan24@m.fudan.edu.cn>
Reviewed-by: Sungjong Seo <sj1557.seo@samsung.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'drivers/fpga/xilinx-core.c')
0 files changed, 0 insertions, 0 deletions