mirror of
https://github.com/torvalds/linux.git
synced 2026-11-28 01:13:11 +00:00
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 <[email protected]> Reviewed-by: Luis Chamberlain <[email protected]> Reviewed-by: Johannes Thumshirn <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
20 lines
710 B
Plaintext
20 lines
710 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
config UDF_FS
|
|
tristate "UDF file system support"
|
|
select BUFFER_HEAD
|
|
select CRC_ITU_T
|
|
select NLS
|
|
select LEGACY_DIRECT_IO
|
|
help
|
|
This is a file system used on some CD-ROMs and DVDs. Since the
|
|
file system is supported by multiple operating systems and is more
|
|
compatible with standard unix file systems, it is also suitable for
|
|
removable USB disks. Say Y if you intend to mount DVD discs or CDRW's
|
|
written in packet mode, or if you want to use UDF for removable USB
|
|
disks. Please read <file:Documentation/filesystems/udf.rst>.
|
|
|
|
To compile this file system support as a module, choose M here: the
|
|
module will be called udf.
|
|
|
|
If unsure, say N.
|