mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 16:54:20 +08:00
8b1e7076d2
Switch from generic_block_fiemap to use the iomap version. The only interesting part is that ext2_get_blocks gets confused when being asked for overly long ranges, so copy over the limit to the inode size from generic_block_fiemap into ext2_fiemap. Link: https://lore.kernel.org/r/20210720133341.405438-3-hch@lst.de Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jan Kara <jack@suse.cz>
43 lines
1.2 KiB
Plaintext
43 lines
1.2 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
config EXT2_FS
|
|
tristate "Second extended fs support"
|
|
select FS_IOMAP
|
|
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.
|