diff options
author | Christoph Hellwig | 2023-01-25 07:58:39 +0100 |
---|---|---|
committer | Jens Axboe | 2023-01-26 10:30:56 -0700 |
commit | 9636e650e16f6b01f0044f7662074958c23e4707 (patch) | |
tree | e040da863e3d88a1275dd7ed6c24b1a19eb5fa2a /fs/jfs | |
parent | 439bc39b3cf0014b1b75075812f7ef0f8baa9674 (diff) |
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>
Diffstat (limited to 'fs/jfs')
-rw-r--r-- | fs/jfs/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/jfs/Kconfig b/fs/jfs/Kconfig index 05cb0e8e4382..51e856f0e4b8 100644 --- a/fs/jfs/Kconfig +++ b/fs/jfs/Kconfig @@ -3,6 +3,7 @@ config JFS_FS tristate "JFS filesystem support" select NLS select CRC32 + select LEGACY_DIRECT_IO help This is a port of IBM's Journaled Filesystem . More information is available in the file <file:Documentation/admin-guide/jfs.rst>. |