WSL2-Linux-Kernel/fs/exfat
Yuezhang Mo 92dcd7d6c6 exfat: support dynamic allocate bh for exfat_entry_set_cache
[ Upstream commit a3ff29a95f ]

In special cases, a file or a directory may occupied more than 19
directory entries, pre-allocating 3 bh is not enough. Such as
  - Support vendor secondary directory entry in the future.
  - Since file directory entry is damaged, the SecondaryCount
    field is bigger than 18.

So this commit supports dynamic allocation of bh.

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-03-01 13:21:56 +01:00
..
Kconfig
Makefile
balloc.c exfat: use kvmalloc_array/kvfree instead of kmalloc_array/kfree 2023-08-11 15:13:56 +02:00
cache.c
dir.c exfat: support dynamic allocate bh for exfat_entry_set_cache 2024-03-01 13:21:56 +01:00
exfat_fs.h exfat: support dynamic allocate bh for exfat_entry_set_cache 2024-03-01 13:21:56 +01:00
exfat_raw.h exfat: fix shift-out-of-bounds in exfat_fill_super() 2021-02-22 09:55:13 +09:00
fatent.c exfat: check if cluster num is valid 2022-06-06 08:43:37 +02:00
file.c exfat: fix inode->i_blocks for non-512 byte sector size device 2023-03-10 09:39:58 +01:00
inode.c exfat: fix inode->i_blocks for non-512 byte sector size device 2023-03-10 09:39:58 +01:00
misc.c
namei.c exfat: support handle zero-size directory 2023-11-28 16:56:19 +00:00
nls.c
super.c exfat: fix inode->i_blocks for non-512 byte sector size device 2023-03-10 09:39:58 +01:00