exfat: add exfat_get_empty_dentry_set() helper
authorYuezhang Mo <Yuezhang.Mo@sony.com>
Mon, 30 Oct 2023 09:25:31 +0000 (17:25 +0800)
committerNamjae Jeon <linkinjeon@kernel.org>
Tue, 19 Mar 2024 11:55:33 +0000 (20:55 +0900)
commit01da3a5176c62a3310573f593579ebf88b6af5c0
tree6e2f1977cd3452179daf9f1202a12a1067beabd7
parent7b6bab2359e34a85359771a9837b1f44c37e82d2
exfat: add exfat_get_empty_dentry_set() helper

This helper is used to lookup empty dentry set. If there are
no enough empty dentries at the input location, this helper will
return the number of dentries that need to be skipped for the
next lookup.

Signed-off-by: Yuezhang Mo <Yuezhang.Mo@sony.com>
Reviewed-by: Andy Wu <Andy.Wu@sony.com>
Reviewed-by: Aoyama Wataru <wataru.aoyama@sony.com>
Reviewed-by: Sungjong Seo <sj1557.seo@samsung.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
fs/exfat/dir.c
fs/exfat/exfat_fs.h