Commit 4b6fee17b1758391281ddf5b00328035573f8be1

Authored by Roberto Sassu
Committed by Tyler Hicks
1 parent f61500e000

eCryptfs: fix compile error

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

1 1 config ECRYPT_FS
2 2 tristate "eCrypt filesystem layer support (EXPERIMENTAL)"
3   - depends on EXPERIMENTAL && KEYS && CRYPTO
  3 + depends on EXPERIMENTAL && KEYS && CRYPTO && (ENCRYPTED_KEYS || ENCRYPTED_KEYS=n)
4 4 select CRYPTO_ECB
5 5 select CRYPTO_CBC
6 6 select CRYPTO_MD5