]> www.infradead.org Git - users/dwmw2/linux.git/commit
exfat: add __exfat_get_dentry_set() helper
authorYuezhang Mo <Yuezhang.Mo@sony.com>
Fri, 8 Dec 2023 11:17:02 +0000 (19:17 +0800)
committerNamjae Jeon <linkinjeon@kernel.org>
Tue, 19 Mar 2024 11:55:28 +0000 (20:55 +0900)
commit7b6bab2359e34a85359771a9837b1f44c37e82d2
tree508db8fc8458d1902bd585041c62b2e2aed45d7b
parent855684c7d938c2442f07eabc154e7532b4c1fbf9
exfat: add __exfat_get_dentry_set() helper

Since exfat_get_dentry_set() invokes the validate functions of
exfat_validate_entry(), it only supports getting a directory
entry set of an existing file, doesn't support getting an empty
entry set.

To remove the limitation, add this helper.

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