98f3631506
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> Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
24 lines
753 B
Plaintext
24 lines
753 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
config EXFAT_FS
|
|
tristate "exFAT filesystem support"
|
|
select BUFFER_HEAD
|
|
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.
|
|
|
|
To compile this as a module, choose M here: the module will be called
|
|
exfat.
|
|
|
|
config EXFAT_DEFAULT_IOCHARSET
|
|
string "Default iocharset for exFAT"
|
|
default "utf8"
|
|
depends on EXFAT_FS
|
|
help
|
|
Set this to the default input/output character set to use for
|
|
converting between the encoding is used for user visible filename and
|
|
UTF-16 character that exfat filesystem use, and can be overridden with
|
|
the "iocharset" mount option for exFAT filesystems.
|