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: Christoph Hellwig <hch@lst.de> Reviewed-by: Jan Kara <jack@suse.cz> Reviewed-by: Eric Biggers <ebiggers@google.com> Link: https://lore.kernel.org/r/20230125065839.191256-3-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
This commit is contained in:
parent
d8b0edab69
commit
796bbd0726
1 changed files with 1 additions and 0 deletions
1
Kconfig
1
Kconfig
|
@ -3,6 +3,7 @@
|
||||||
config EXFAT_FS
|
config EXFAT_FS
|
||||||
tristate "exFAT filesystem support"
|
tristate "exFAT filesystem support"
|
||||||
select NLS
|
select NLS
|
||||||
|
select LEGACY_DIRECT_IO
|
||||||
help
|
help
|
||||||
This allows you to mount devices formatted with the exFAT file system.
|
This allows you to mount devices formatted with the exFAT file system.
|
||||||
exFAT is typically used on SD-Cards or USB sticks.
|
exFAT is typically used on SD-Cards or USB sticks.
|
||||||
|
|
Loading…
Reference in a new issue