No description
  • C 98.2%
  • Assembly 1%
  • Makefile 0.3%
  • Shell 0.2%
  • Python 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Sungjong Seo 0da4dbe15d exfat: fix incorrect loading of i_blocks for large files
When calculating i_blocks, there was a mistake that was masked with a 32-bit
variable. So i_blocks for files larger than 4 GiB had incorrect values.
Mask with a 64-bit variable instead of 32-bit one.

Fixes: 5f2aa075070c ("exfat: add inode operations")
Cc: stable@vger.kernel.org # v5.7+
Reported-by: Ganapathi Kamath <hgkamath@hotmail.com>
Signed-off-by: Sungjong Seo <sj1557.seo@samsung.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
2021-10-19 13:16:49 +09:00
.travis.yml exfat: add FITRIM ioctl tests 2021-03-25 08:10:44 +09:00
.travis_cmd_wrapper.pl
.travis_get_mainline_kernel
balloc.c exfat: fix build on x86 with 4.19 kernel 2021-06-16 00:03:40 +08:00
cache.c exfat: fix use of uninitialized spinlock on error path 2020-10-12 22:56:52 +09:00
dir.c exfat: handle wrong stream entry size in exfat_readdir() 2021-06-11 09:56:14 +09:00
exfat_fs.h exfat: release 5.14.1 version 2021-07-10 20:17:59 +09:00
exfat_raw.h exfat: fix shift-out-of-bounds in exfat_fill_super() 2021-02-01 10:35:05 +09:00
fatent.c exfat: improve write performance when dirsync enabled 2021-03-25 08:10:51 +09:00
file.c exfat: block: use an on-stack bio in blkdev_issue_flush 2021-03-25 08:11:06 +09:00
inode.c exfat: fix incorrect loading of i_blocks for large files 2021-10-19 13:16:49 +09:00
Kconfig
Makefile exfat: linux 4.16 kernel build support 2020-02-04 09:18:10 +09:00
misc.c exfat: fix build on old 32 bits system 2021-06-09 11:10:16 +09:00
namei.c exfat: speed up iterate/lookup by fixing start point of traversing cluster chain 2021-03-25 08:11:12 +09:00
nls.c exfat: Avoid allocating upcase table using kcalloc() 2020-12-08 12:51:04 +09:00
README.md exfat: fix typo 2020-02-10 21:35:58 +09:00
super.c exfat: avoid incorrectly releasing for root inode 2021-07-10 20:14:26 +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