android_kernel_asus_sm8350/fs/exfat
Michael Bestas 1cbc6feae2
Merge branch 'master' of https://github.com/namjaejeon/linux-exfat-oot into android13-5.4-lahaina
* '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
  exfat: release 6.0.0 version
  exfat: fix overflow for large capacity partition
  exfat: add auto build-test and simple stability test using travis-CI
  exfat: Drop superfluous new line for error messages
  exfat: Downgrade ENAMETOOLONG error message to debug messages
  exfat: Expand exfat_err() and co directly to pr_*() macro
  exfat: Define NLS_NAME_* as bit flags explicitly
  exfat: Return ENAMETOOLONG consistently for oversized paths
  exfat: simplified by using round_up()
  fs: Convert mpage_readpage to mpage_read_folio
  fs: Remove flags parameter from aops->write_begin
  fs: Remove aop flags parameter from cont_write_begin()
  block: add a bdev_discard_granularity helper
  block: remove QUEUE_FLAG_DISCARD
  exfat: remove duplicate write inode for extending dir/file
  exfat: remove duplicate write inode for truncating file
  exfat: reuse __exfat_write_inode() to update directory entry
  exfat: use updated exfat_chain directly during renaming

Change-Id: Ib68d90de9ea596296407f446fa611525034db193
2023-08-25 12:15:07 +03:00
..
.github/workflows Merge branch 'master' of https://github.com/namjaejeon/linux-exfat-oot into android13-5.4-lahaina 2023-08-25 12:15:07 +03:00
balloc.c Merge branch 'master' of https://github.com/namjaejeon/linux-exfat-oot into android13-5.4-lahaina 2023-08-25 12:15:07 +03:00
cache.c Merge tag '5.19.1' of https://github.com/namjaejeon/linux-exfat-oot into android13-5.4-lahaina 2022-10-02 20:39:21 +03:00
dir.c Merge branch 'master' of https://github.com/namjaejeon/linux-exfat-oot into android13-5.4-lahaina 2023-08-25 12:15:07 +03:00
exfat_fs.h Merge branch 'master' of https://github.com/namjaejeon/linux-exfat-oot into android13-5.4-lahaina 2023-08-25 12:15:07 +03:00
exfat_raw.h Merge branch 'master' of https://github.com/namjaejeon/linux-exfat-oot into android13-5.4-lahaina 2023-08-25 12:15:07 +03:00
fatent.c Merge branch 'master' of https://github.com/namjaejeon/linux-exfat-oot into android13-5.4-lahaina 2023-08-25 12:15:07 +03:00
file.c Merge branch 'master' of https://github.com/namjaejeon/linux-exfat-oot into android13-5.4-lahaina 2023-08-25 12:15:07 +03:00
inode.c Merge branch 'master' of https://github.com/namjaejeon/linux-exfat-oot into android13-5.4-lahaina 2023-08-25 12:15:07 +03:00
Kconfig Merge branch 'master' of https://github.com/namjaejeon/linux-exfat-oot into android13-5.4-lahaina 2023-08-25 12:15:07 +03:00
Makefile Merge tag '5.19.1' of https://github.com/namjaejeon/linux-exfat-oot into android13-5.4-lahaina 2022-10-02 20:39:21 +03:00
misc.c Merge branch 'master' of https://github.com/namjaejeon/linux-exfat-oot into android13-5.4-lahaina 2023-08-25 12:15:07 +03:00
namei.c Merge branch 'master' of https://github.com/namjaejeon/linux-exfat-oot into android13-5.4-lahaina 2023-08-25 12:15:07 +03:00
nls.c Merge branch 'master' of https://github.com/namjaejeon/linux-exfat-oot into android13-5.4-lahaina 2023-08-25 12:15:07 +03:00
README.md Merge tag '5.19.1' of https://github.com/namjaejeon/linux-exfat-oot into android13-5.4-lahaina 2022-10-02 20:39:21 +03:00
super.c Merge branch 'master' of https://github.com/namjaejeon/linux-exfat-oot into android13-5.4-lahaina 2023-08-25 12:15:07 +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