mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-27 22:24:11 +08:00
9636e650e1
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>
44 lines
1.3 KiB
Plaintext
44 lines
1.3 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
config EXT2_FS
|
|
tristate "Second extended fs support"
|
|
select FS_IOMAP
|
|
select LEGACY_DIRECT_IO
|
|
help
|
|
Ext2 is a standard Linux file system for hard disks.
|
|
|
|
To compile this file system support as a module, choose M here: the
|
|
module will be called ext2.
|
|
|
|
If unsure, say Y.
|
|
|
|
config EXT2_FS_XATTR
|
|
bool "Ext2 extended attributes"
|
|
depends on EXT2_FS
|
|
help
|
|
Extended attributes are name:value pairs associated with inodes by
|
|
the kernel or by users (see the attr(5) manual page for details).
|
|
|
|
If unsure, say N.
|
|
|
|
config EXT2_FS_POSIX_ACL
|
|
bool "Ext2 POSIX Access Control Lists"
|
|
depends on EXT2_FS_XATTR
|
|
select FS_POSIX_ACL
|
|
help
|
|
Posix Access Control Lists (ACLs) support permissions for users and
|
|
groups beyond the owner/group/world scheme.
|
|
|
|
If you don't know what Access Control Lists are, say N
|
|
|
|
config EXT2_FS_SECURITY
|
|
bool "Ext2 Security Labels"
|
|
depends on EXT2_FS_XATTR
|
|
help
|
|
Security labels support alternative access control models
|
|
implemented by security modules like SELinux. This option
|
|
enables an extended attribute handler for file security
|
|
labels in the ext2 filesystem.
|
|
|
|
If you are not using a security module that requires using
|
|
extended attributes for file security labels, say N.
|