add patch fix-sleep-in-atomic-context-in-grab_mapping_entry
[ext4-patch-queue.git] / fscrypt-remove-unneeded-Kconfig-dependencies
bloba38d38869133fb95819ae0e45c6bedea694c4c77
1 fscrypto: remove unneeded Kconfig dependencies
3 From: Eric Biggers <ebiggers@google.com>
5 SHA256 and ENCRYPTED_KEYS are not needed.  CTR shouldn't be needed
6 either, but I left it for now because it was intentionally added by
7 commit 71dea01ea2ed ("ext4 crypto: require CONFIG_CRYPTO_CTR if ext4
8 encryption is enabled").  So it sounds like there may be a dependency
9 problem elsewhere, which I have not been able to identify specifically,
10 that must be solved before CTR can be removed.
12 Signed-off-by: Eric Biggers <ebiggers@google.com>
13 Signed-off-by: Theodore Ts'o <tytso@mit.edu>
14 ---
15  fs/crypto/Kconfig | 2 --
16  1 file changed, 2 deletions(-)
18 diff --git a/fs/crypto/Kconfig b/fs/crypto/Kconfig
19 index 92348fa..f514978 100644
20 --- a/fs/crypto/Kconfig
21 +++ b/fs/crypto/Kconfig
22 @@ -8,9 +8,7 @@ config FS_ENCRYPTION
23         select CRYPTO_XTS
24         select CRYPTO_CTS
25         select CRYPTO_CTR
26 -       select CRYPTO_SHA256
27         select KEYS
28 -       select ENCRYPTED_KEYS
29         help
30           Enable encryption of files and directories.  This
31           feature is similar to ecryptfs, but it is more memory
32 -- 
33 2.8.0.rc3.226.g39d4020