exfat: reuse exfat_find_location() to simplify exfat_get_dentry_set()
authorYuezhang Mo <Yuezhang.Mo@sony.com>
Thu, 17 Nov 2022 03:31:30 +0000 (11:31 +0800)
committerNamjae Jeon <linkinjeon@kernel.org>
Tue, 13 Dec 2022 11:17:16 +0000 (20:17 +0900)
commit36955d368dc101be885ad2c71618e3c3a93cd8ee
treee79ffaaaff4ea61f9a1cae694cd27e00f9597931
parent40306b4d1ba25970dafd53432e8daa5d591ebd99
exfat: reuse exfat_find_location() to simplify exfat_get_dentry_set()

In exfat_get_dentry_set(), part of the code is the same as
exfat_find_location(), reuse exfat_find_location() to simplify
exfat_get_dentry_set().

Code refinement, no functional changes.

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