]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
exfat: use exfat_chain_advance helper
authorChi Zhiling <chizhiling@kylinos.cn>
Fri, 3 Apr 2026 08:05:38 +0000 (16:05 +0800)
committerNamjae Jeon <linkinjeon@kernel.org>
Fri, 3 Apr 2026 13:41:10 +0000 (22:41 +0900)
commit08cf4a8181b4378a0a50ea370391f30032c4e4ec
tree6d602810ebaaae65f79b1d4ece71c1abc33923a9
parent227468fc82e4ce43b6ccc1111aa479948f3dd38c
exfat: use exfat_chain_advance helper

Replace open-coded cluster chain walking logic with exfat_chain_advance()
across exfat_readdir, exfat_find_dir_entry, exfat_count_dir_entries,
exfat_search_empty_slot and exfat_check_dir_empty.

Signed-off-by: Chi Zhiling <chizhiling@kylinos.cn>
Reviewed-by: Sungjong Seo <sj1557.seo@samsung.com>
Reviewed-by: Yuezhang Mo <Yuezhang.Mo@sony.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
fs/exfat/dir.c
fs/exfat/namei.c