android_kernel_motorola_sm6225/fs/exfat
Michael Bestas ea9e1e004e
Merge branch 'master' of https://github.com/namjaejeon/linux-exfat-oot into android13-4.19-kona
* 'master' of https://github.com/namjaejeon/linux-exfat-oot:
  exfat: add necessary header for vmalloc
  exfat: release s_lock before calling dir_emit()
  exfat: check if filename entries exceeds max filename length
  exfat: github action: make space for running xfstests
  exfat: use kvmalloc_array/kvfree instead of kmalloc_array/kfree
  exfat: splice: Use filemap_splice_read() instead of generic_file_splice_read()
  exfat: fs: build the legacy direct I/O code conditionally
  exfat: fs: port ->rename() to pass mnt_idmap
  exfat: fs: port ->mkdir() to pass mnt_idmap
  exfat: fs: port ->create() to pass mnt_idmap
  exfat: fs: port ->getattr() to pass mnt_idmap
  exfat: fs: port ->setattr() to pass mnt_idmap
  exfat: fix the newly allocated clusters are not freed in error handling
  exfat: don't print error log in normal case
  exfat: remove unneeded code from exfat_alloc_cluster()
  exfat: remove ->writepage
  exfat: handle unreconized benign secondary entries
  exfat: fix inode->i_blocks for non-512 byte sector size device
  exfat: redefine DIR_DELETED as the bad cluster number
  exfat: fix reporting fs error when reading dir beyond EOF
  exfat: fix unexpected EOF while reading dir
  exfat: reuse exfat_find_location() to simplify exfat_get_dentry_set()
  exfat: fix overflow in sector and cluster conversion
  exfat: remove i_size_write() from __exfat_truncate()
  exfat: remove argument 'size' from exfat_truncate()
  exfat: remove unnecessary arguments from exfat_find_dir_entry()
  exfat: remove unneeded codes from __exfat_rename()
  exfat: remove call ilog2() from exfat_readdir()
  exfat: remove generic/286
  exfat: fix python package installation failure
  exfat: github actions: add apt-get update command
  exfat: treewide: use get_random_u32() when possible
  exfat: replace magic numbers with Macros
  exfat: rename exfat_free_dentry_set() to exfat_put_dentry_set()
  exfat: move exfat_entry_set_cache from heap to stack
  exfat: support dynamic allocate bh for exfat_entry_set_cache
  exfat: reduce the size of exfat_entry_set_cache
  exfat: add SECTOR_SIZE macro
  exfat: hint the empty entry which at the end of cluster chain
  exfat: simplify empty entry hint
  exfat: add auto-test using github action
  exfat: remove travis-CI test

Change-Id: Ie304b450ae4cd4f8021c909b83142cd69bfef926
2023-08-25 12:06:41 +03:00
..
.github/workflows Merge branch 'master' of https://github.com/namjaejeon/linux-exfat-oot into android13-4.19-kona 2023-08-25 12:06:41 +03:00
balloc.c Merge branch 'master' of https://github.com/namjaejeon/linux-exfat-oot into android13-4.19-kona 2023-08-25 12:06:41 +03:00
cache.c
dir.c Merge branch 'master' of https://github.com/namjaejeon/linux-exfat-oot into android13-4.19-kona 2023-08-25 12:06:41 +03:00
exfat_fs.h Merge branch 'master' of https://github.com/namjaejeon/linux-exfat-oot into android13-4.19-kona 2023-08-25 12:06:41 +03:00
exfat_raw.h Merge branch 'master' of https://github.com/namjaejeon/linux-exfat-oot into android13-4.19-kona 2023-08-25 12:06:41 +03:00
fatent.c Merge branch 'master' of https://github.com/namjaejeon/linux-exfat-oot into android13-4.19-kona 2023-08-25 12:06:41 +03:00
file.c Merge branch 'master' of https://github.com/namjaejeon/linux-exfat-oot into android13-4.19-kona 2023-08-25 12:06:41 +03:00
inode.c Merge branch 'master' of https://github.com/namjaejeon/linux-exfat-oot into android13-4.19-kona 2023-08-25 12:06:41 +03:00
Kconfig Merge branch 'master' of https://github.com/namjaejeon/linux-exfat-oot into android13-4.19-kona 2023-08-25 12:06:41 +03:00
Makefile
misc.c
namei.c Merge branch 'master' of https://github.com/namjaejeon/linux-exfat-oot into android13-4.19-kona 2023-08-25 12:06:41 +03:00
nls.c
README.md
super.c Merge branch 'master' of https://github.com/namjaejeon/linux-exfat-oot into android13-4.19-kona 2023-08-25 12:06:41 +03: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