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
Tetsuhiro Kohada 117088f39d exfat: remove EXFAT_SB_DIRTY flag
This flag is set/reset in exfat_put_super()/exfat_sync_fs()
to avoid sync_blockdev().
- exfat_put_super():
Before calling this, the VFS has already called sync_filesystem(),
so sync is never performed here.
- exfat_sync_fs():
After calling this, the VFS calls sync_blockdev(), so, it is meaningless
to check EXFAT_SB_DIRTY or to bypass sync_blockdev() here.

Remove the EXFAT_SB_DIRTY check to ensure synchronization.
And remove the code related to the flag.

Signed-off-by: Tetsuhiro Kohada <kohada.t2@gmail.com>
Reviewed-by: Sungjong Seo <sj1557.seo@samsung.com>
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
2020-06-17 22:08:32 +09:00
.travis.yml exfat: remove metadata journing tests 2020-06-09 08:45:52 +09:00
.travis_cmd_wrapper.pl
.travis_get_mainline_kernel
balloc.c exfat: remove EXFAT_SB_DIRTY flag 2020-06-17 22:08:32 +09:00
cache.c
dir.c exfat: remove EXFAT_SB_DIRTY flag 2020-06-17 22:08:32 +09:00
exfat_fs.h exfat: remove EXFAT_SB_DIRTY flag 2020-06-17 22:08:32 +09:00
exfat_raw.h exfat: separate the boot sector analysis 2020-06-04 15:42:41 +09:00
fatent.c exfat: remove EXFAT_SB_DIRTY flag 2020-06-17 22:08:32 +09:00
file.c exfat: fix incorrect update of stream entry in __exfat_truncate() 2020-06-04 15:42:57 +09:00
inode.c fs: convert mpage_readpages to mpage_readahead 2020-06-17 22:08:28 +09:00
Kconfig
Makefile
misc.c exfat: remove EXFAT_SB_DIRTY flag 2020-06-17 22:08:32 +09:00
namei.c exfat: remove EXFAT_SB_DIRTY flag 2020-06-17 22:08:32 +09:00
nls.c exfat: Fix pontential use after free in exfat_load_upcase_table() 2020-06-09 08:45:56 +09:00
README.md
super.c exfat: remove EXFAT_SB_DIRTY flag 2020-06-17 22:08:32 +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