aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/fs/ntfs
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2023-08-01 19:22:01 +0200
committerJens Axboe <axboe@kernel.dk>2023-08-02 09:13:09 -0600
commit925c86a19bacf8ce10eb666328fb3fa5aff7b951 (patch)
treee5724b45449d43a6a695ff2ff0a1276e70a7ccf7 /fs/ntfs
parentblock: use iomap for writes to block devices (diff)
downloadwireguard-linux-925c86a19bacf8ce10eb666328fb3fa5aff7b951.tar.xz
wireguard-linux-925c86a19bacf8ce10eb666328fb3fa5aff7b951.zip
fs: add CONFIG_BUFFER_HEAD
Add a new config option that controls building the buffer_head code, and select it from all file systems and stacking drivers that need it. For the block device nodes and alternative iomap based buffered I/O path is provided when buffer_head support is not enabled, and iomap needs a a small tweak to define the IOMAP_F_BUFFER_HEAD flag to 0 to not call into the buffer_head code when it doesn't exist. Otherwise this is just Kconfig and ifdef changes. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Luis Chamberlain <mcgrof@kernel.org> Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Link: https://lore.kernel.org/r/20230801172201.1923299-7-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/ntfs')
-rw-r--r--fs/ntfs/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ntfs/Kconfig b/fs/ntfs/Kconfig
index f93e69a61283..7b2509741735 100644
--- a/fs/ntfs/Kconfig
+++ b/fs/ntfs/Kconfig
@@ -1,6 +1,7 @@
# SPDX-License-Identifier: GPL-2.0-only
config NTFS_FS
tristate "NTFS file system support"
+ select BUFFER_HEAD
select NLS
help
NTFS is the file system of Microsoft Windows NT, 2000, XP and 2003.