]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
eCryptfs: fix compile error
authorRoberto Sassu <roberto.sassu@polito.it>
Mon, 1 Aug 2011 11:33:38 +0000 (13:33 +0200)
committerTyler Hicks <tyhicks@linux.vnet.ibm.com>
Tue, 9 Aug 2011 18:42:46 +0000 (13:42 -0500)
This patch fixes the compile error reported at the address:

https://bugzilla.kernel.org/show_bug.cgi?id=40292

The problem arises when compiling eCryptfs as built-in and the 'encrypted'
key type as a module. The patch prevents this combination from being set in
the kernel configuration, by fixing the eCryptfs dependencies.

Signed-off-by: Roberto Sassu <roberto.sassu@polito.it>
Reported-by: David Hill <hilld@binarystorm.net>
Signed-off-by: Tyler Hicks <tyhicks@linux.vnet.ibm.com>
fs/ecryptfs/Kconfig

index 1cd6d9d3e29a53dd102524b3b065b39642672dbc..cc16562654ded3c6bd4903171a585107405eaedd 100644 (file)
@@ -1,6 +1,6 @@
 config ECRYPT_FS
        tristate "eCrypt filesystem layer support (EXPERIMENTAL)"
-       depends on EXPERIMENTAL && KEYS && CRYPTO
+       depends on EXPERIMENTAL && KEYS && CRYPTO && (ENCRYPTED_KEYS || ENCRYPTED_KEYS=n)
        select CRYPTO_ECB
        select CRYPTO_CBC
        select CRYPTO_MD5