]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
exfat: introduce exfat_cluster_walk helper
authorChi Zhiling <chizhiling@kylinos.cn>
Fri, 3 Apr 2026 08:05:34 +0000 (16:05 +0800)
committerNamjae Jeon <linkinjeon@kernel.org>
Fri, 3 Apr 2026 13:41:04 +0000 (22:41 +0900)
commitf5e5177fd751529a3c951a0f4f7a05fdfadab775
tree4aaea2e62a734aad151a2f6bcc963d5d0e244c9a
parentff37797badd831797b8a27830fe5046d7e23fdc3
exfat: introduce exfat_cluster_walk helper

Introduce exfat_cluster_walk() to walk the FAT chain by a given step,
handling both ALLOC_NO_FAT_CHAIN and ALLOC_FAT_CHAIN modes. Also
redefine exfat_get_next_cluster as a thin wrapper around it for
backward compatibility.

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/exfat_fs.h