]> www.infradead.org Git - users/hch/misc.git/commit
exfat: code cleanup for exfat_readdir()
authorYuezhang Mo <Yuezhang.Mo@sony.com>
Thu, 12 Sep 2024 09:07:01 +0000 (17:07 +0800)
committerNamjae Jeon <linkinjeon@kernel.org>
Mon, 25 Nov 2024 08:08:26 +0000 (17:08 +0900)
commit6b151eb5df78dc1a1ea7c862834199e08ea11c7b
treebfa0011f37e39a915f36be5c96a6b157f69136ca
parent33a86666d37ed44a7280adcc6ca293f7718507b2
exfat: code cleanup for exfat_readdir()

For the root directory and other directories, the clusters
allocated to them can be obtained from exfat_inode_info, and
there is no need to distinguish them.

And there is no need to initialize atime/ctime/mtime/size in
exfat_readdir(), because exfat_iterate() does not use them.

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