Kernel Tree For Xiaomi 11 Lite NE 5G
Go to file
Jason Yan db8bd78e86 exfat: remove the assignment of 0 to bool variable
There is no need to init 'sync' in exfat_set_vol_flags().
This also fixes the following coccicheck warning:

fs/exfat/super.c:104:6-10: WARNING: Assignment of 0/1 to bool variable

Signed-off-by: Jason Yan <yanaijie@huawei.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
2020-04-16 09:52:09 +09:00
.travis_cmd_wrapper.pl exfat: add travis-CI build and test support 2020-02-03 22:43:47 +09:00
.travis_get_mainline_kernel exfat: add travis-CI build and test support 2020-02-03 22:43:47 +09:00
.travis.yml exfat: add create file and directory test 2020-04-07 15:09:18 +09:00
balloc.c exfat: Unify access to the boot sector 2020-04-06 14:11:45 +09:00
cache.c exfat: initial commit 2020-02-03 21:47:19 +09:00
dir.c exfat: Use a more common logging style 2020-04-06 12:50:48 +09:00
exfat_fs.h exfat: Remove unused functions exfat_high_surrogate() and exfat_low_surrogate() 2020-04-16 09:46:18 +09:00
exfat_raw.h exfat: initial commit 2020-02-03 21:47:19 +09:00
fatent.c exfat: Use a more common logging style 2020-04-06 12:50:48 +09:00
file.c exfat: fix build support from 4.1 to liunx 5.5 kernel 2020-02-08 19:13:34 +09:00
inode.c exfat: fix build support from 4.1 to liunx 5.5 kernel 2020-02-08 19:13:34 +09:00
Kconfig exfat: initial commit 2020-02-03 21:47:19 +09:00
Makefile exfat: linux 4.16 kernel build support 2020-02-04 09:18:10 +09:00
misc.c exfat: Use a more common logging style 2020-04-06 12:50:48 +09:00
namei.c exfat: Simplify exfat_utf8_d_hash() for code points above U+FFFF 2020-04-16 09:46:11 +09:00
nls.c exfat: Remove unused functions exfat_high_surrogate() and exfat_low_surrogate() 2020-04-16 09:46:18 +09:00
README.md exfat: fix typo 2020-02-10 21:35:58 +09:00
super.c exfat: remove the assignment of 0 to bool variable 2020-04-16 09:52:09 +09:00

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

  1. Let's take [linux] as the path to your kernel source dir.
	cd [linux]
	cp -ar exfat [linux]/fs/
  1. edit [linux]/fs/Kconfig
	source "fs/fat/Kconfig"
	+source "fs/exfat/Kconfig"
	source "fs/ntfs/Kconfig"
  1. edit [linux]/fs/Makefile
	obj-$(CONFIG_FAT_FS)          += fat/
	+obj-$(CONFIG_EXFAT_FS)       += exfat/
	obj-$(CONFIG_BFS_FS)          += bfs/
  1. make menuconfig and set exfat
	File systems  --->
		DOS/FAT/NT Filesystems  --->
			<M> exFAT filesystem support
			(utf8) Default iocharset for exFAT

build your kernel