Re: [PATCH v2] eCryptfs: fix compile error
From: Tyler Hicks
Date: Fri Aug 05 2011 - 11:28:33 EST
On Mon Aug 01, 2011 at 01:33:38PM +0200, Roberto Sassu <roberto.sassu@xxxxxxxxx> wrote:
> 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.
This patch does trick. Thanks, Roberto.
I'll get this applied and in a pull request soon.
Tyler
>
> Signed-off-by: Roberto Sassu <roberto.sassu@xxxxxxxxx>
> Reported-by: David Hill <hilld@xxxxxxxxxxxxxxx>
> ---
> fs/ecryptfs/Kconfig | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/fs/ecryptfs/Kconfig b/fs/ecryptfs/Kconfig
> index 1cd6d9d..cc16562 100644
> --- a/fs/ecryptfs/Kconfig
> +++ b/fs/ecryptfs/Kconfig
> @@ -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
> --
> 1.7.6
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/