1# SPDX-License-Identifier: GPL-2.0-only
2config EXT2_FS
3	tristate "Second extended fs support"
4	select BUFFER_HEAD
5	select FS_IOMAP
6	select LEGACY_DIRECT_IO
7	help
8	  Ext2 is a standard Linux file system for hard disks.
9
10	  To compile this file system support as a module, choose M here: the
11	  module will be called ext2.
12
13	  If unsure, say Y.
14
15config EXT2_FS_XATTR
16	bool "Ext2 extended attributes"
17	depends on EXT2_FS
18	help
19	  Extended attributes are name:value pairs associated with inodes by
20	  the kernel or by users (see the attr(5) manual page for details).
21
22	  If unsure, say N.
23
24config EXT2_FS_POSIX_ACL
25	bool "Ext2 POSIX Access Control Lists"
26	depends on EXT2_FS_XATTR
27	select FS_POSIX_ACL
28	help
29	  Posix Access Control Lists (ACLs) support permissions for users and
30	  groups beyond the owner/group/world scheme.
31
32	  If you don't know what Access Control Lists are, say N
33
34config EXT2_FS_SECURITY
35	bool "Ext2 Security Labels"
36	depends on EXT2_FS_XATTR
37	help
38	  Security labels support alternative access control models
39	  implemented by security modules like SELinux.  This option
40	  enables an extended attribute handler for file security
41	  labels in the ext2 filesystem.
42
43	  If you are not using a security module that requires using
44	  extended attributes for file security labels, say N.
45