mirror of
https://gitee.com/bianbu-linux/linux-6.6-fh
synced 2025-04-24 20:17:08 -04:00
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>
This commit is contained in:
parent
439bc39b3c
commit
9636e650e1
14 changed files with 18 additions and 1 deletions
|
@ -2,6 +2,7 @@
|
|||
config FAT_FS
|
||||
tristate
|
||||
select NLS
|
||||
select LEGACY_DIRECT_IO
|
||||
help
|
||||
If you want to use one of the FAT-based file systems (the MS-DOS and
|
||||
VFAT (Windows 95) file systems), then you must say Y or M here
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue