mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-27 14:14:24 +08:00
925c86a19b
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>
16 lines
527 B
Plaintext
16 lines
527 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
config HFS_FS
|
|
tristate "Apple Macintosh file system support"
|
|
depends on BLOCK
|
|
select BUFFER_HEAD
|
|
select NLS
|
|
select LEGACY_DIRECT_IO
|
|
help
|
|
If you say Y here, you will be able to mount Macintosh-formatted
|
|
floppy disks and hard drive partitions with full read-write access.
|
|
Please read <file:Documentation/filesystems/hfs.rst> to learn about
|
|
the available mount options.
|
|
|
|
To compile this file system support as a module, choose M here: the
|
|
module will be called hfs.
|