Skip to content

Commit 96465ef

Browse files
Valerie Auroratytso
authored andcommitted
ext4: fix configuration dependencies for ext4 ACLs and security labels
Commit "ext4: Remove CONFIG_EXT4_FS_XATTR" removed the configuration dependencies for ext4 xattrs from the ext4 ACLs and security labels configuration options, but did not replace them with a dependency on ext4 itself. Add back the dependency on ext4 so the options only show up if ext4 is enabled. Signed-off-by: Valerie Aurora <val@vaaconsulting.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> Reviewed-by: Tao Ma <boyu.mt@taobao.com>
1 parent d1c3ed6 commit 96465ef

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎fs/ext4/Kconfig‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ config EXT4_USE_FOR_EXT23
4141

4242
config EXT4_FS_POSIX_ACL
4343
bool "Ext4 POSIX Access Control Lists"
44+
depends on EXT4_FS
4445
select FS_POSIX_ACL
4546
help
4647
POSIX Access Control Lists (ACLs) support permissions for users and
@@ -53,6 +54,7 @@ config EXT4_FS_POSIX_ACL
5354

5455
config EXT4_FS_SECURITY
5556
bool "Ext4 Security Labels"
57+
depends on EXT4_FS
5658
help
5759
Security labels support alternative access control models
5860
implemented by security modules like SELinux. This option

0 commit comments

Comments
 (0)