Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c48c9f7f authored by Valdis Kletnieks's avatar Valdis Kletnieks Committed by Greg Kroah-Hartman
Browse files

staging: exfat: add exfat filesystem code to staging

The exfat code needs a lot of work to get it into "real" shape for
the fs/ part of the kernel, so put it into drivers/staging/ for now so
that it can be worked on by everyone in the community.

The full specification of the filesystem can be found at:
  https://docs.microsoft.com/en-us/windows/win32/fileio/exfat-specification



Signed-off-by: default avatarValdis Kletnieks <valdis.kletnieks@vt.edu>
Signed-off-by: default avatarSasha Levin <alexander.levin@microsoft.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20190828160817.6250-1-gregkh@linuxfoundation.org


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3982f1df
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -6097,6 +6097,11 @@ F: include/trace/events/mdio.h
F:	include/uapi/linux/mdio.h
F:	include/uapi/linux/mii.h

EXFAT FILE SYSTEM
M:	Valdis Kletnieks <valdis.kletnieks@vt.edu>
S:	Maintained
F:	fs/exfat/

EXT2 FILE SYSTEM
M:	Jan Kara <jack@suse.com>
L:	linux-ext4@vger.kernel.org
+2 −0
Original line number Diff line number Diff line
@@ -118,4 +118,6 @@ source "drivers/staging/kpc2000/Kconfig"

source "drivers/staging/isdn/Kconfig"

source "drivers/staging/exfat/Kconfig"

endif # STAGING
+1 −0
Original line number Diff line number Diff line
@@ -49,3 +49,4 @@ obj-$(CONFIG_XIL_AXIS_FIFO) += axis-fifo/
obj-$(CONFIG_FIELDBUS_DEV)     += fieldbus/
obj-$(CONFIG_KPC2000)		+= kpc2000/
obj-$(CONFIG_ISDN_CAPI)		+= isdn/
obj-$(CONFIG_EXFAT_FS)		+= exfat/
+39 −0
Original line number Diff line number Diff line
config EXFAT_FS
	tristate "exFAT fs support"
	select NLS
	help
	  This adds support for the exFAT file system.

config EXFAT_DISCARD
	bool "enable discard support"
	depends on EXFAT_FS
	default y

config EXFAT_DELAYED_SYNC
	bool "enable delayed sync"
	depends on EXFAT_FS
	default n

config EXFAT_KERNEL_DEBUG
	bool "enable kernel debug features via ioctl"
	depends on EXFAT_FS
	default n

config EXFAT_DEBUG_MSG
	bool "print debug messages"
	depends on EXFAT_FS
	default n

config EXFAT_DEFAULT_CODEPAGE
	int "Default codepage for exFAT"
	default 437
	depends on EXFAT_FS
	help
	  This option should be set to the codepage of your exFAT filesystems.

config EXFAT_DEFAULT_IOCHARSET
	string "Default iocharset for exFAT"
	default "utf8"
	depends on EXFAT_FS
	help
	  Set this to the default input/output character set you'd like exFAT to use.
+10 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0

obj-$(CONFIG_EXFAT_FS) += exfat.o

exfat-y :=	exfat_core.o	\
		exfat_super.o	\
		exfat_blkdev.o	\
		exfat_cache.o	\
		exfat_nls.o	\
		exfat_upcase.o
Loading