Kernel Tree For Xiaomi 11 Lite NE 5G
03ab6855b1
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> |
||
---|---|---|
.github/workflows | ||
balloc.c | ||
cache.c | ||
dir.c | ||
exfat_fs.h | ||
exfat_raw.h | ||
fatent.c | ||
file.c | ||
inode.c | ||
Kconfig | ||
Makefile | ||
misc.c | ||
namei.c | ||
nls.c | ||
README.md | ||
super.c |
exFAT filesystem
This is the exfat filesystem for support from the linux 4.1 kernel to the latest kernel.
Installing as a stand-alone module
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
Installing as a part of the kernel
- Let's take [linux] as the path to your kernel source dir.
cd [linux]
cp -ar exfat [linux]/fs/
- edit [linux]/fs/Kconfig
source "fs/fat/Kconfig"
+source "fs/exfat/Kconfig"
source "fs/ntfs/Kconfig"
- edit [linux]/fs/Makefile
obj-$(CONFIG_FAT_FS) += fat/
+obj-$(CONFIG_EXFAT_FS) += exfat/
obj-$(CONFIG_BFS_FS) += bfs/
- make menuconfig and set exfat
File systems --->
DOS/FAT/NT Filesystems --->
<M> exFAT filesystem support
(utf8) Default iocharset for exFAT
build your kernel