1 ext4 crypto: Do not select from EXT4_FS_ENCRYPTION
3 From: Herbert Xu <herbert@gondor.apana.org.au>
5 This patch adds a tristate EXT4_ENCRYPTION to do the selections
6 for EXT4_FS_ENCRYPTION because selecting from a bool causes all
7 the selected options to be built-in, even if EXT4 itself is a
10 Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
11 Signed-off-by: Theodore Ts'o <tytso@mit.edu>
13 diff --git a/fs/ext4/Kconfig b/fs/ext4/Kconfig
14 index 18228c2..024f228 100644
17 @@ -64,8 +64,8 @@ config EXT4_FS_SECURITY
18 If you are not using a security module that requires using
19 extended attributes for file security labels, say N.
21 -config EXT4_FS_ENCRYPTION
22 - bool "Ext4 Encryption"
23 +config EXT4_ENCRYPTION
24 + tristate "Ext4 Encryption"
28 @@ -81,6 +81,11 @@ config EXT4_FS_ENCRYPTION
29 efficient since it avoids caching the encrypted and
30 decrypted pages in the page cache.
32 +config EXT4_FS_ENCRYPTION
35 + depends on EXT4_ENCRYPTION
38 bool "EXT4 debugging support"
41 Email: Herbert Xu <herbert@gondor.apana.org.au>
42 Home Page: http://gondor.apana.org.au/~herbert/
43 PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt