exfat: move exfat_entry_set_cache from heap to stack
authorYuezhang Mo <Yuezhang.Mo@sony.com>
Thu, 17 Nov 2022 03:37:13 +0000 (11:37 +0800)
committerNamjae Jeon <linkinjeon@kernel.org>
Mon, 12 Dec 2022 02:02:49 +0000 (11:02 +0900)
commit20914ff6dd56dd6b548bf5dd90bff09ef89999e4
tree7e984b672e38e57f2302f3435bab1b3e83985ce7
parenta3ff29a95fde16906304455aa8c0bd84eb770258
exfat: move exfat_entry_set_cache from heap to stack

The size of struct exfat_entry_set_cache is only 56 bytes on
64-bit system, and allocating from stack is more efficient than
allocating from heap.

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
fs/exfat/inode.c
fs/exfat/namei.c