commit | 03ab6855b1c9a69df02efdab9df8d0570a933b70 | [log] [tgz] |
---|---|---|
author | Yuezhang Mo <Yuezhang.Mo@sony.com> | Thu Feb 23 23:09:50 2023 +0900 |
committer | Namjae Jeon <linkinjeon@kernel.org> | Tue Jul 11 22:20:45 2023 +0900 |
tree | c87a391af9c309ee7e6f830ec4c94185e6c617e3 | |
parent | 7a55bf46a5e4d10662cb75ca54b88b59e5621dc9 [diff] |
exfat: fix the newly allocated clusters are not freed in error handling In error handling 'free_cluster', before num_alloc clusters allocated, p_chain->size will not updated and always 0, thus the newly allocated clusters are not freed. Signed-off-by: Yuezhang Mo <Yuezhang.Mo@sony.com> Reviewed-by: Andy Wu <Andy.Wu@sony.com> Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
This is the exfat filesystem for support from the linux 4.1 kernel to the latest kernel.
Install prerequisite package for Fedora, RHEL:
yum install kernel-devel-$(uname -r)
Build step:
make sudo make install
To load the driver manually, run this as root:
modprobe exfat
cd [linux] cp -ar exfat [linux]/fs/
source "fs/fat/Kconfig" +source "fs/exfat/Kconfig" source "fs/ntfs/Kconfig"
obj-$(CONFIG_FAT_FS) += fat/ +obj-$(CONFIG_EXFAT_FS) += exfat/ obj-$(CONFIG_BFS_FS) += bfs/
File systems ---> DOS/FAT/NT Filesystems ---> <M> exFAT filesystem support (utf8) Default iocharset for exFAT
build your kernel