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

Commit 796bbd07 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Namjae Jeon
Browse files

exfat: fs: build the legacy direct I/O code conditionally



Add a new LEGACY_DIRECT_IO config symbol that is only selected by the
file systems that still use the legacy blockdev_direct_IO code, so that
kernels without support for those file systems don't need to build the
code.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarJan Kara <jack@suse.cz>
Reviewed-by: default avatarEric Biggers <ebiggers@google.com>
Link: https://lore.kernel.org/r/20230125065839.191256-3-hch@lst.de


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
Signed-off-by: default avatarNamjae Jeon <linkinjeon@kernel.org>
parent d8b0edab
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@
config EXFAT_FS
	tristate "exFAT filesystem support"
	select NLS
	select LEGACY_DIRECT_IO
	help
	  This allows you to mount devices formatted with the exFAT file system.
	  exFAT is typically used on SD-Cards or USB sticks.